How Do I Unlock My Iphone
How to Unlock Your iPhone

If you've ever forgotten your iPhone passcode, you know how frustrating it can be. Fortunately, there are a few ways to unlock your iPhone without having to reset your data or buy a new device.
Using iTunes
If you've previously synced your device with iTunes, you can use the program to unlock your iPhone. To do this, connect your device to your computer and open iTunes. Once it's recognized, select your device and click "Restore." This will erase your passcode and allow you to set up your device as if it were new.
Using iCloud
If you've enabled Find My iPhone on your device, you can use iCloud to erase your passcode. To do this, go to iCloud.com and sign in with your Apple ID. Select "Find My iPhone" and then select your device from the list. Click "Erase iPhone" and then confirm your action. This will erase your passcode and allow you to set up your device as if it were new.
Using Recovery Mode
If you've never synced your device with iTunes or enabled Find My iPhone, you can still unlock your iPhone using Recovery Mode. To do this, connect your device to your computer and open iTunes. Put your device into Recovery Mode by holding down the Home and Power buttons until the screen turns black. When iTunes recognizes the device, select "Restore" and follow the on-screen instructions. This will erase your passcode and allow you to set up your device as if it were new.