Do this from the command line:
Open Start, type: CMD
Right click CMD
Click Run as administrator
Type in at the prompt OR Copy and Paste these one at a time : (Hit enter after each)
TAKEOWN /F D:\ /R /D Y
Once you have taken ownership, then you have to set the permissions; for this, you use ICACLS:
ICACLS "D:" /reset /T
Restart then check if you can access your Documents again.
Also...
Open Windows Defender Security Center
Click Virus & threat protection
Click Virus & threat protection settings
Scroll down to Controlled folder access
Toggle it off
Also in Windows Defender Security Center
Open App & browser control
Set 'Check apps & files' to off