Removing a lock on the Sony Xperia L2 (H4311) involves factory resetting the device, which can be done via Google's Find My Device, hardware buttons, or flashing firmware using Flashtool. These methods erase data and may trigger Factory Reset Protection (FRP), requiring the original Google account credentials to unlock the phone. For the official guide on unlocking, visit Sony Support How to Hard Reset Sony Xperia 1 VI via Recovery Mode
Select your firmware and ensure the section has "USERDATA" checked. Turn off your phone. h4311 lock remove ftf