If you want to unlock bootloader, just follow the motorola guide.
For trouble shooting or more info about how to get your "cid" and see if it's unlockable , have a look here.
If you want to relock it:
fastboot oem lock
...
(bootloader) WARNING: This command erases all user data.
(bootloader)...