1. Launch Settings
Click on the start button and click the cog wheel to open Settings.
2. Click on Update & Security
In Settings, click on Update & Security.
3. Open Windows Security
Click the button under Windows Security labeled "Open Windows Security.
4. Click on Virus & threat protection
Click on the first option in Windows Security called "Virus & threat protection".
5. Manage Ransomware Protection
Scroll to the bottom of the list and click the link "Manage ransomware protection".
6. Turn on Controlled folder access
Click on the toggle button to enable controlled folder access.