And you can somehow solve the problem with the fact that after a reboot, the settings that are displayed in the section, On top of other applications, fly off. Sticky password gives this permission, and after reboot it is disabled again. Firmware Stable xiaomi eu 10.2.1.0
Of course I found it by experience so that the permission is not reset, you need to transfer this application to the system one, but this one is also a crutch.