Default [Q] Sony my Xperia vs Apple Lost Mode

In apples when in lost mode, you will never unlock the device even after flashing a new firmware.
But what about in Sony? After locking it, will it unlock by flashing a ftf?