Go to Windows Security → Virus & threat protection → Ransomware protection → Controlled folder access → Allow an app. Add hl2.exe and steam.exe .