How To Wipe An Iphone Without Passcode. Turn your iPhone off. Your computer erases your device and installs the latest iOS iPadOS or iPod software.
Press and hold the Home button at the bottom of iPhone and the SleepWake button on top of the iPhone simultaneously. To turn it back on press and hold the power button until the Apple logo appears. Next click on Erase iPhone This will completely reset the device.
Begin by logging into your iCloud account.
After restore you can click Restore Backup in iTunes to restore iPhone from latest backup file. So can you factory reset a locked iPhone without passcode. To erase your iPhone completely without a password you can try iPhone Unlocker. From the iTunes dialogue box click Restore.