Step 2: Copy the following text, line for line, omitting only the --- that caps either end of it.
---
Dim objResult
Set objShell = WScript.CreateObject("WScript.Shell")
Do While True
objResult = objShell.sendkeys("{NUMLOCK}{NUMLOCK}")
Wscript.Sleep (6000)
Loop
---
Step 3: Save this as whatever.vbs, put it somewhere you can access easily, and double click it when you start your computer.
This runs a very basic script, and every six seconds, your computer will double-tap the NumLock key (i.e., turn it on, and then off) in a single instant. This counts as a key-press, occurs with a key that shouldn’t affect most things that you’re doing, occurs with no gap between them even if it could affect things you’re doing, and should prevent this kind of BS from engaging. As an aside, this will also prevent your computer from automatically locking itself, so take that into account if you need to manually lock your computer when going to lunch or whatever.