Software : Razer Cortex Game Booster
Use Type : Free 
Site mentioned : Razer
Platform : Win 7 to Windows 11

This Razer Cortex feature manages and stops non-essential processes/apps (i.e. business apps, background helpers) when gaming, freeing up valuable resources and RAM for a smoother experience. Razer Cortex: GAME BOOSTER automatically kicks in the moment you launch a game, whether it’s from a gaming platform or your desktop. When you’re done gaming, it auto-restores your PC back to its previous state.

(Link sends you to official site)