Xiaomi stuck in fastbot mode while bootloader is locked
The problem was not in fastboot mode. The reason was that my volume button was shortening and was always pressed. Fixing the button solved the issue.