Rooting an Android Motorola Moto G4
your device is most likely verizon or AT&amp;T. check your cid is unlockable with  

fastboot getvar all


Your device is unlockable if the CID value returned is listed  

0x0000
0x0003
0x0007
0x0009
0x000B
0x000C
0x000D
0x000E
0x0014
0x0015
0x00DE
0x0032


source