How to Connect a Locked iPhone to iTunes
- 1). Double-click the iTunes icon on your computer to launch the iTunes application.
- 2). Attach the larger connection located at the end of the iPhone data cable to the port at the bottom of your iPhone.
- 3). Connect the smaller iPhone data cable connection to an available USB port on your computer.
- 4). Select your iPhone from the Devicesgroup located on the left side of the iTunes application. You have now successfully connected your locked iPhone to iTunes.
Source...