Full Tutorial –
So last week I showed you how to unlock the bootloader of the Xiaomi Mi A2. I did this because a lot of people want to install software on their phone that isn’t signed by the OEM. Without doing that, we can’t install things such as TWRP, Magisk, custom ROMs and more. Some people don’t want to do any of that though.
In order to keep the user protected Android devices have what they call a bootloader. In a locked state, it is responsible for making sure the software installed is authentically signed by the OEM. If your device is unlocked then this guide will show you how to lock (or relock) the bootloader of the Xiaomi Mi A2.