You just need the Mi Unlock Tool on your PC to unlock the device.
PROBLEM
If you want to log in to the Mi Unlock tool and get a security prompt that doesn't go any further. Instead of clicking on Login Data, please click on the QR code in the right corner and log in that way.