Hello,
First of all, I would like to apologize if there are any mistakes, I am French and I am translating this message with Google Translate.
I want to create a psychological horror game that breaks the fourth wall (like Doki Doki Literature Club for example), and in the title screen of my game, I would like to make it so that the player is forced to use the "QUIT" button on the title screen, preventing them from closing the game in any other way (there will still be some emergency solutions, but little known to most users).
I know that I can legally remove the cross at the top of the window since it is directly an element that belongs to my program, and also that I can close the command prompt since it does not require administrator rights.
But the remaining problem is the task manager. To close it, you need administrator rights, and after doing some research, although it's not illegal in France, I learned that it is illegal in some countries like the United States, and that game sharing sites like itch.io prohibit it.
So I was wondering: what exactly is illegal about this? Is it closing a system-protected application, or preventing the use of the task manager, regardless of whether it's closed with administrator rights or otherwise?
Because if it's only closing a Windows-protected application that's prohibited, I planned to just make the window move to the task manager in "always on top" mode, which shouldn't require administrator rights, the problem with that is just that the user could open a second window further away from the first.
Also, I don't know if it's important to mention, but the program only blocks the use of the task manager on the title screen; nothing will be blocked during the rest of the game, so the effect is only temporary and does NOTHING (normally) damage the computer.