To make the process easier, I have created a one-click Android bootloader unlock tool for your smartphone or tablet.
Unlock Bootloader Android Device
Step 1: Enable Developer Mode
To send commands to your phone, you must first enable Developer Options.
Go to Settings -> About Phone and tap "Build Number" 7 times until
it says you are a developer.
Terminal Output Disconnected
Waiting for action...
Note: Your device must actually support the fastboot flashing unlock command for this tool to actually unlock its bootloader.
Also, if the process succeeds, your data will be erased.
If the process fails (from the OEM Unlocking toggle not being enabled, for example) then your data will NOT be erased.
Q: How Does it Work?
A: We’re using web-based technology built into the Chromium web browser (WebUSB). You can learn more about WebUSB if you’d like, but it’s the same way Google is able to offer its Android Flash Tool.
Instead of requiring you to download/install ADB & Fastboot tools, enter a terminal, and issue the commands manually.
This website will do all of the heavy lifting for you.