I have an iphone 4 and it's been out of contract for a few weeks. I called my provider, AT&T to unlock the phone and I followed their steps. But
Correct AnswerDid you get the message in iTunes saying "Congratulations! Your phone is now unlocked"?See:
[Via:How if my iphone unlocked] iPhone Answer -> iPhone 4 Questions