Not sure it has anything to do with windows sadly. HL is terrible written, there’s posts all over the internet about it. It works fine on my computer and stutters and lags on my wife’s. There’s some mods you can install to fix some issues, but she has an amd gpu and it seems that that’s part of the problem.