boulot Hi,
Remove mi account for miui 10 and above is likely very difficult due to their auto create persist partition during the boot process. You may try to disable the mi account service in UFI android toolbox, in special task menu under ADB tab menu.