To unlock your Mi phone pattern without losing data, then WooTechy iDelock (Android) is the best option. The iDelock (Android) unlocks your Xiaomi device's locks, such as 4-digit, 6-digit, customized PINs, passwords, patterns, fingerprints, facial ID , and more.
How to unlock mi phone's pattern lock? If you wish to unlock your MI phone's pattern lock, then download the app on your computer and follow the steps stated below: Step 1. Connect your MI Android Phone and Select the Advanced Mode: Connect your MI phone with your system and launch Dr.Fone. From the interface, click on the "Screen Unlock
Step 7 Unlocking the bootloader. Enter the command adb reboot bootloader. Wait a couple seconds until your device rebooted into the bootloader, then enter the command fastboot flashing unlock. Some devices might use the command fastboot oem unlock instead. You should now see a prompt similar to the one shown in the picture.V09jEB.