In simple terms, the bootloader on Xiaomi is a so-called program that runs when you turn on your smartphone. It starts booting the operating system or putting the phone into recovery mode. The bootloader starts right after you press the power button, before the operating system loads. After this, complex processes occur, resulting in the bootloader understanding which operation to perform. For example, to boot the system or to enter the recovery menu.
Most manufacturers block access to the bootloader, forbidding users from installing third-party systems and firmware. But it can almost always be unlocked by sending a request through the phone’s settings. The unlock procedure takes a little time, from 360 to 720 hours. You can see the bootloader status in the phone’s settings by accessing the “For Developers” section beforehand.
Here we find the “Mi Unlock Status” item and its current status.