When prompted by the software, turn off your phone. Hold the Volume Down button and connect the USB cable. The LED should turn green , indicating it is in Flashmode.
To remove the screen lock (PIN, Pattern, or Password) on a Sony Xperia XZ1 (G8341) sony g8341 lock remove ftf
Flashing a factory FTF setup removes localized PIN or pattern screen obstacles, but it will automatically bypass Google’s native Factory Reset Protection (FRP) . When prompted by the software, turn off your phone
Install the official Sony Xperia XZ1 drivers so your computer can communicate with the phone in Flashmode. When prompted by the software