The only reliable, hardware-safe method to completely remove the screen lock and regain full access is by using Sony's native Flash Tool, Flashtool (by Androxyde).
You flashed a "persist" or "OEM" FTF without userdata. Or you booted the phone without wiping first. Fix: Perform a factory reset in recovery after flashing, then reboot. sony g3311 lock remove ftf
While flashing an FTF file removes the local screen lock, it often triggers Factory Reset Protection (FRP) The only reliable, hardware-safe method to completely remove
Try a different USB port (avoid USB 3.0/Blue ports; use USB 2.0). The only reliable