If your Xiaomi phone has been blocked with an MI account, giving you an error when trying to enter the password, here is what you should do:
Write 4 zeros (0000) in the place where you ask for the key. Then it will tell you that the password is incorrect, but you must do it repeatedly. You can get up to ten attempts before the mobile ends by restarting. Once it has been rebooted, you will have access to the desktop of the mobile and use it normally without asking for the password of the MI account. The tool will help you to solve the problem.