Unlock an iPhone is disabled due to entering wrong passcode:
-entering wrong passcode to many times will be locked out of the iPhone . There’s no way to recovery the passcode out factory resetting the iPhone, use iTunes.
1 -Download iTunes on your computer.
2- connect your phone to the computer using a usb cable.
3- start the phone recovery mode. Depending on which model iPhone:
- for iPhone 8 and later, press the volume up button,followed by volume down, then press and hold the power button until you see the “connect to iTunes “ on the screen.
- for iPhone 7 , press and hold the power button fir three seconds, then swipe the “power off “ slider to the right then,press and hold the volume down until you see the “connect to iTunes “ screen.
- on the computer click “restore “
-after this process completes, the phone will reset to its factory conditions. Then follow the on-screen instructions to restore the iPhone with a recent backup.