Safety instructions and precautions of unlocking Bootloader

The Bootloader on the Xiaomi smartphone is the first piece of code in the Android system that runs before the operating system kernel. It initializes hardware devices and establishes a mapping of memory space, thereby setting the system's software and hardware environment to an appropriate state. It plays a critical role in initializing the phone’s hardware and loading the operating system.
To ensure the safety of your device, avoid unlocking the Bootloader. Unlocking the Bootloader exposes system permissions, increasing the risk of malicious software or unverified firmware accessing sensitive data. Furthermore, this action invalidates the official warranty, waiving coverage and potentially affecting future service. It may also compromise system stability, leading to risks like data loss, boot failures, and compatibility issues with unsupported ROMs. Hence, Xiaomi phones do not support unlocking Bootloader. Thank you for your support and understanding.