Hey Goldy99,
Thanks for using Apple Support Communities.
If you want to move yor iPhone to a different carrier, follow the first arrticle.
If you are locked out of the iPhone and cant get into it, follow the second article.
iPhone: About unlocking
http://support.apple.com/kb/ht5014
iOS: Forgotten passcode or device disabled after entering wrong passcode
http://support.apple.com/kb/ht1212
Have a nice day,
Mario