Shylesh Sriranjan explains how to unlock iPhone when it is locked with passcode, in this process some things you should have like iTunes, iPhone Data cable, Laptop or Computer and iPhone’s Backup after this you have to follow these steps which are given below: 

  1. Switch off your iPhone

  2. Connect your iPhone with iTunes 

  3. Store your iPhone’s backup in iTunes

  4. When this process is complete, reset your iPhone with backup

  5. After complete the reset and backup process you can turn on your device