There are two types of phone code lock.
User applied, which is usually a problem on second hand, found or stolen phones. To get around this you have to do a Factory Reset. The problem with the instructions below is that you can't get into the phone to access settings. I would suggest you contact Motorola. Some phones can be reset by connecting to a computer using software supplied by the maker.
To Delete all Phone Data:
: This option erases all information you have entered (including contacts and calendar entries) and content you have downloaded (including photos and sounds) stored in your phone's memory. After you erase the information, you can't recover it.
This option does not
delete SIM card information:
Scroll to Settings and Press OK
Scroll to Phone Settings and Press OK
Scroll to Reset and Press OK
Scroll to Delete All Data and Press OK
A PUK code request. This can only come from the carrier who usually own the phone under an unexpired contract. There is no way around this.