Its a new feature in Windows 10 1709. For users who might be getting that error, here is how you remove.
Open Windows Defender Security Center
Click Virus & threat protection
Click Virus & threat protection settings
Scroll down to Controlled folder access
Toggle it off
in later versions
Open Windows Defender Security Center
Click Virus & threat protection
Click Ransomware protection
Toggle off Controlled folder access
Also in Windows Defender Security Center
Open App & browser control
Set 'Check apps & files' to off