if you need to unlock your phone codes is the best way. as your provider gave you the code you can follow these instructions to get your phone unlocked.
1 - Switch ON your Motorola RAZR MAXX with a NOT ACCEPTED SIM Card,
2 - Phone will display "Enter Special Code",
3 - You can now enter the Unlock Code.
you can also get futher instruction or unlock codes for any mobile at
Ihav.net