i locked myself out of my iphone. it says to connect to itunes. thats what i did but what do i have to do now and will i loose all of my pictures and contacts?
See here: http://support.apple.com/kb/HT1212
No, you won't lose your contacts or photos, because you've been making regular backups of your data to iTunes or iCloud, and you've regularly been transferring your photos & videos over to your computer... right?
Retrieving data ...