I had a similar issue, but not sure it is exactly the same :
I had no keyboard for the password of the WIFI, but i had a keyboard for the Mi account password
So I typed the wifi password in the mi account window, copy it, and paste it in the wifi window
Then i was able to connect and unlock my...