Programming › How to reset your iPhone when it is locked with the message
If your iPhone displays the message **"iPhone Unavailable"** and you can't unlock it, you'll need to perform a **Factory Reset** and restore the device as new. You can follow the steps below, which are guaranteed to work **100%**. However, it is essential that you remember the **iCloud password** for the account linked to the locked iPhone. If it's not the correct account, unlocking the device will be useless because you won't be able to use it due to Activation Lock.
The iPhone will then display the Apple icon and a status bar indicating the software update is being installed before the device is restored.
After the update to the latest iOS is successfully installed, the device will restart and proceed to the setup screen as if it were a new device.
If **Find My iPhone** was enabled on the device, after the wipe, you **must** enter the original **Apple ID and password** to activate it (Activation Lock). The factory reset will cause **all data to be lost**. You should back up your data in advance (if possible).