For newer models, use the (APK/PC tool) to request the unlock permissions first.
Where to find the for your specific chipset? How to verify the COM Port in Windows Device Manager?
: Unlocking the bootloader performs a factory reset. Back up everything.
If software commands fail, you must open the back cover and short the "Test Points" on the motherboard while connecting to USB.
: This process typically voids your official warranty.