You can learn how to use the ADB for Windows to lock your phone.This is likely to format your device.Please back up first.
Step 1: You can open a browser on your computer.
The process on a Mac may be similar to that on Windows.
Step 2: Click on the link at the bottom of the page to download the 15-seconds-adb-installer.
Step 3: Click the install button.
This is the most recent version.Click the link if you see the latest version next to a different version.
Step 4: Click to download.
The button is large and green.The.Zip file contains the installer file.
Step 5: Click the file to open it.
The contents of the.Zip can be opened.
Step 6: Click on the.Zip file to open it.
It should be called something like "adb-setup-1.4.3.exe."
Step 7: Press Y.
You will be asked if you want to install the entire system.
Step 8: Press Y.
There is a message about installing device drivers.
Step 9: Press Y.
The device driver wizard will appear after a few seconds.
Step 10: You can click next.
Step 11: Click to finish.
Now you will be able to use your computer.
Step 12: You can connect your phone to the computer with a cable.
Make sure you use a safe compatible version of the cable if you don't have the same one.To make your computer recognize your device, you may have to install drivers.You can find these drivers on the manufacturer's website.
Step 13: Press Win+S.
The search bar on Windows can be opened.
Step 14: You can type cmd.
There is a list of matching search results.
Step 15: Go to the command prompt and select Run as administrator.
The admin-level command prompt will be given by this step.
Step 16: Click yes to confirm.
This opens the prompt.
Step 17: Press enter if you want to type adb.
This runs a program.
Step 18: To enter, type fastboot oem lock and press.
The command can be used to lock the bootloader.If you see an error message, try one of the following commands.
Step 19: To enter, type fastboot and press.
This restarts your phone and locks the bootloader.