setInterval(() => {angular.element(document.body).injector().get('presenceService').setMyStatus(1, null, false); }, 15000)
This snippet is my own, made by looking at the source code, maybe the 15 second interval is overkill so feel free to adjust as you need.
I actually did that at a previous job where I had to use windows 10 and (I think) the sys admin policy was to 'lock screen' after 20 min of inactivity, so I eventually got fed up of having to login all the time.
Just to clarify you can definitely also do mouse moves with python and ctypes.
Is it just ignoring mouse movement, or actually monitoring interaction with the app it recognizes?
This mouse jiggler is programmable, and lets you insert keypresses and stuff into the script: https://www.amazon.com/WiebeTech-Programmable-Mouse-Jiggler-...
So one day, the guy brings in a vibrating baby bouncer, puts the mouse in the baby bouncer, and kicks back for the rest of the day.
Even plugging in a charging cable at my company will get you a visit from the IT Security department.