There is no doubt that until and unless you restrict the background apps and other processes on your Windows PC, there is no chance to eliminate the lags which disturbs your gaming experience.
Top 10 Best Game Optimizers and Boosters for Windows PC in 2019