Two steps to safeguarding your data and avoid getting locked out of your PC ...
I was recently talking to someone I know about using Windows Defender to scan their system, and they decided to use the "offline scan" option (the one that reboots and does a scan before loading ...