Though there still needs to a user-friendly mechanism to disable such overlay once it’s active
Turn off the computer, log in as another user and uninstall.
in case overlay blocks all interactions with the OS (intentionally or not).
Well, for X11 there was a transparent lock screen whose entire point was to block all OS interactions until you entered the password. https://github.com/leonnnn/pyxtrlock
Obviously, a user friendly way (other than uninstalling from another user account) defeats the purpose.