Do you want to take a break but your PC is going to sleep or auto-lock if you don’t do anything on it for some minutes? Are the GPO settings not available for you to change the behavior because you are not an admin?
Made a simple program in C# that prevents your computer to go to sleep or auto-lock.
The program simulates F11 key release, not the actual push of the key.
In the future I also want to add the option to simulate mouse movements.
The full solution and executable is available for download from GitHub: