Once you have obtained an unlock code from your carrier or other means, do the following:

Advanced Options
Sim Card
Enter MEPD
Note: You will see nothing change on the screen.
Enter MEP2
Note: You will see nothing on the screen, until you hit the Enter key.
Enter the code you obtained.

At the top of the screen, you should see “SIM Card Security Disabled.”