How to Get in the iPhone If You Forgot the Password
- 1). Turn off your iPhone before connecting it to the computer. Hold down the "Power" button and work the boot-off slider that appears on the phone's screen or hold down the "Power" and the "Home" buttons simultaneously.
- 2). Connect the iPhone to the computer while pressing and holding down the "Home" button. This will cause the iPhone to restart. Keep holding the "Home" button until the message "Connected to iTunes" appears on the screen.
- 3). Open iTunes. A prompt will inform you that your iPhone is connected to iTunes in recovery mode.
- 4). Go to the "Summary" tab, click "Restore" and follow the on-screen prompts. Once you have restored your phone, the password lock will be removed and you will be able to access the device again without a password.
- 5). Run "Sync" to load all of the data saved in your most recent backup onto your iPhone.
Source...