1. This is a simple and proven technique to dodge your personal computer.
Take a working analog wristwatch, and put your mouse on top of it. The optical sensor of the mouse should be on the dial of the wristwatch.
This will move the mouse pointer and prevent your pc to go to sleep mode.

2. Dedicated mouse mover sold in the market.

3. There is another tool called Mouse Jiggler that works as a plug-and-play USB dongle.

These are easy life hacks for people who are working from home and have activity trackers installed on their laptops and computers. By using these tools, you don't need to touch the settings of your PC or install any software.