Enable Game Mode in Windows
Additionally, the Gaming section of Settings when switched to Game Mode. The feature is explained when you play in Game Mode, it "prioritizes you for a better gaming experience" and "achieves more stable speeds".
Additionally, Windows Update won't bother you while you're playing. The feature is designed to provide a better gaming experience.