Try this
Check RAM. Memory corruption could be one of the primary reasons behind this error, hence check the RAM. ...
Scan PC for Malware. ...
Run SFC Scan. ...
Update Device Drivers. ...
Perform a Clean Boot. ...
Run CHKDSK Scan. ...
Turn off DEP. ...
Reset your PC.
My guess is DEP
https://www.minitool.com/data-recovery/dep-data-execution-prevention-windows-10.html