Every phone is different when it comes to unlocking, so you'll need the specific instructions for your model phone. You can find the instructions you need by picking your make of phone from one of the links below.
Please be aware that some phones can become permanently locked if the code is put into the phone incorrectly too many times. If this happens, the phone must be manually unlocked.