When you see this error the option to turn Memory Integrity On\Off is generally also greyed out. One way to fix this is to navigate
to the Registry key below (I need to disable Memory Integrity with this to run my Logitech G27 wheel when I play my racing games).
After setting the Enabled key to off the option in Settings > Security should also become available again (after rebooting).
At least until you turn it back on again.
Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\DeviceGuard\Scenarios\HypervisorEnforcedCodeIntegrity
There should be a key named - Enabled - Open this and change the Value to 0 (off - will re-enable toggle and set to Off in Settings), or 1 (on).
Reboot...
.