There is no need to Enter an “Unlock Code” on Apple iPhone, all the process is done via iTunes once you receive notification confirmation of you iphone has been Unlocked. The most important part is that if you previously “Jailbreak” your iPhone in then you have to remove all applications related to that. Once your iPhone is clean from any Jailbreak applications follow the steps below:
1 – Install the last version of iTunes
2 – Make sure your iPhone is updated with the lastest version of Firmware (Currently iOS6)
3 – Swiftch on your iPhone with an Not Accepted SIM Card
4 – Connect your iPhone to your computer using the Original USB Cable
5 – Launch iTunes & wait until iTunes detect your iPhone
6 – Now disconnect your iPhone and reconnect it after 10 seconds.
7 – Your iPhone is now Unlocked.
PS: in Case your iPhone is not unlocked, just click “Restore” !
iOS7 Update: How does Activation Lock work?
When you enable Find My iPhone on your iPhone, iPad, or iPod touch running iOS 7, the Apple ID and password you use for iCloud is securely stored on Apple’s activation servers and linked to your device. From that point on, your password will be required before anyone can turn off Find My iPhone on your device, erase your device, or reactivate and use your device.
Activation Lock is enabled automatically when you turn on Find My iPhone in iOS 7, or when you upgrade to iOS 7 from a previous version of iOS that has Find My iPhone already turned on.
To turn on Find My iPhone on your device:
Go to Settings.
Sign in with your Apple ID, if necessary.
Turn on Find My iPhone.
Prior to unlocking a phone, make sure the previous owner of the unit has turned off findmyphone and erased all contents & settings.
For more info please refer to this link : http://support.apple.com/kb/HT5818