For GSM phone (AT&T;, T-Mobile etc):
Insert a sim card from a different carrierTurn on the HTC phone. If the phone is locked, it will prompt you with “Network is locked, please input unlock code”
For CDMA phone (Verizon, Sprint etc):
Turn off the phoneHold down the Volume Down + Power keys. It will show the flash screenIt should say “SPL-0.57 Cmonex” if the phone is unlocked