How to unlock Xiaomi bootloader.
All Mi phones are bootloader-locked. This is for the safe use of the phone. To install 3rd party software such as TWRP, the bootloader must be unlocked.
What do you need to do to unlock the bootloader?
You need mi unlock tool. This program is official mi software.
After this process, all user data on the phone will be deleted and cannot be restored. Don’t forget to backup important data. All responsibility belongs to you.
Download Mi Unlock tool v5.5.1008.26 En and extract from RAR archive.
Run miflash_unlock.exe, Read and confirm the agreement. The next step is to sign in to the Mi account. Enter your phone number or Xioami account and password. A verification code will be sent to your phone as an SMS. Enter the incoming password into the program. Now it’s time to turn off the phone and put the phone in fastboot mode. While the phone is off, press and hold the volume down button and plug in the USB cable into the phone. Now press the unlock button. This process is completed in a very short time.
If the program gives you time, you have to wait for that time. It usually gives 168 hours.
E-GSM Tool v1.4.3 has been released. Maybe you want to check.