How to Bypass the iPhone 4 Key Lock
- 1). Launch iTunes.
- 2). Connect one end of your iPhone 4's USB cable into the computer's USB port and the other end into the iPhone's data port.
- 3). Right-click your iPhone icon on the iTunes screen and click "Restore."
- 4). Click "Don't Backup" and select "Restore from Backup."
- 5). Select an earlier backup date and click "Continue." Wait for the "Backup Completed" message and click "Eject," then disconnect your iPhone from the computer.
Source...