how do i unlock my iphone with out having to erase evything on it i dont want to lose my pictures
see the the document you came from
Like peter said, you can't.
About unlocking: http://support.apple.com/kb/HT5014
How to backup your data: http://support.apple.com/kb/HT1766
iOS backup explained: http://support.apple.com/kb/HT4946
Retrieving data ...