No. The bootloader locking process will erase your user data.
To lock the bootloader:
- If the installation was successful and the device booted into the system, you can lock the bootloader.
(The lock process will perform a "factory reset")
- Put your device into fastboot mode
- connect to PC
- In the cmd command prompt, type the following command:
Code:
- the device reboots into the system
- done
Attention!
You can only lock the bootloader in the following cases:
- CN devices with CN ROM
- Global devices with any Global ROM derivative (MI, EEA, RU, TU, TW, ID, IN, etc.)
- Product Authentication:
https://www.mi.com/global/verify#/en/tab/secur