Open Registry Editor via Run

Enable Windows 11 Game Mode
Change Value of AutoGameModeEnabled