After installing everything and saving your data Put your device in fast boot mode (power off, then press the power and volume down buttons simultaneously). Go where you installed the ADB, the folder where the files Hold Shift and right click and press the Open command window here Connect the phone to your PC
Type this in the CMD prompt window – fastboot oem get_unlock_data
You will get a return sequence. Copy it. [Right-click, and select the text by pressing the shift key Now press Ctrl + C to copy]
Paste all lines together into a notepad. Remove the empty spaces
Now go to Motorola. Sign in using your Google account or Motorola ID. Scroll down the page and paste the copied string
Then click on ‘My device is unlocked?’ After a button “KEY unlock request” appears at the bottom of the page.
To get your unlock key, select the “Accept” option. Note: You will receive an email with your unlock key to the email address you used to get there.
Important – Copy the key 20 characters that Motorola sent by e-mail. Make sure your device is connected.
Then type in CMD: fastboot devices (To check the device is connected)
Then type the: fastboot oem unlock “code you received by email”
Then hit enter and the unlocking process should start. Wait for a while and soon you will see the message “unlocked bootloader ‘on your Moto E.