Run miflash_unlock.exe , agree to the terms, and log in with the same Mi Account connected to your phone.

Click . If this is your first attempt, you will likely see a message saying "Could not unlock, please try again in 168 hours " (7 days). Step 3: Finalize Unlocking

: Download and install the Xiaomi USB Drivers to help your computer recognize your phone.