On your smartphone go to Settings> About and click 7 times version number
Still on your smartphone go to Settings> Developer Options
And enable the following options: OEM Unlock and USB Debugging
With the unit off press the following buttons at the same time: Power + Volume Minus the unit will enter fastboot mode
Now on your computer, open the Minimal ADB and Fastboot program
In ADB type fastboot devices and press enter: soon after the connected device will appear
Type fastboot oem get_unlock_data and hit enter
A code will appear, copy the complete code if necessary paste it into notepad and delete the spaces and the message (bootloader). Just getting the code
Visit this link and sign in with your Google account
Paste the code into option 8 and click the Can my device be unlocked?
Then select the I Agree option and press the button that will appear. The bootloader unlock code will be sent to your email
Access your email to copy the code that was provided, then return to the CMD window and type: fastboot oem unlock. Then press space and paste the code. The codes are unique, so it is not possible to copy any code, it will not work. Press enter and the procedure will begin
Once the process is completed the phone will reset, and call with the bootloader unlocked message