To unlock iPhone, you can try the following steps:
1. First, connect your iPhone to the computer and make sure it is turned off.
2. Press the On/Off key and the Home key at the same time until the white Apple logo appears on the screen.Then release the On/Off key, but continue to press and hold the Home key.
3. Open iTunes and wait for it to prompt you to enter recovery mode.At this stage, you can press and hold the Shift key (Windows) or Option key (Mac) on the computer keyboard, and then click the "Restore" button.
4. Use the USB cable to reconnect iPhone to the computer.You will hear a warning tone indicating that the connection is successful.
5. Turn off iPhone. At this time, you should hear a disconnection alert tone.
6. Press and hold the On/Off key and the Home key at the same time, release the On/Off key at the tenth second, and continue to press and hold the Home key.
7. iTunes will automatically start and prompt you to enter recovery mode (the screen is still blank).At this time, you can press Shift (Windows) or Option (Mac) again and click "Restore" to select the corresponding firmware to restore.
Please note that these steps may reset the device to factory settings and delete all data. Please ensure that important information has been backed up before execution.In addition, before attempting to unlock, it is recommended to try other possible solutions, such as contacting Apple customer service or seeking professional technical support.