Had this issue with arma, siege and helldivers now. For arma I fixed it with a m.2 ssd, for siege I fixed it by updating to windows 11 and I still haven't fixed it for helldivers (pretty sure it's just the dogshit engine). This issue can happen for thousands of different reasons from a driver on a input device fucking up all the way to thermal throttling.
Try these steps
-Run the game on an m.2 ssd
-Run the game as admin
-Change your power plan to high performance or ultimate performance
-Change your launch options to these: -system.cpu_priority high -high -gc.buffer 4096 -headlerp_inertia 1000 -graphics.branding 0 -effects.maxgibs -1 -window-mode exclusive -rate 144 -client.headlerp 10 -player.eye_blinking false -player.eye_movement false
-Right click on the game > Properties > Controller > Disable steam input
-Cap your fps to 60 (uncap if it still happens)
-Make sure your page file is on an ssd
-Make sure it's not a temperature issue
-Update windows and if all else fails update to windows 11