Hi. My name is***** you for your question and the opportunity to assist.
That error is caused by corruption in the file system.
To repair errors
Right-click the start button and select
Command Prompt (Admin)
A black window will open.
press enter and when it has completed, type in
It will give a message "the type of the file system is NTFS cannot lock current drive.
chkdsk cannot run because the volume is in use by another process. Would you like to schedule this volume to be checked the next time the system restarts y/n" Say Y, press enter and restart the computer.
Please note, while this normally only takes 10 minutes to run, it can take at times a number of hours if windows encounters many issues. If this is occurring it is critical to let this complete as it means you have corruption on the hard drive that it needs to fix. Even if it looks like the scan is not progressing, it is, please just let it run to completion. Windows will then start when it has.
Once Window is back up, right-click on the taskbar and open Task Manager.
Click File>>Run New Task
Put a checkmark in the box labeled: "Create this task with administrative privileges"
In the text area type: powershell and click OK
At the blinking prompt on the blue screen enter: DISM /Online /Cleanup-Image /RestoreHealth
After a few minutes the progress bar will jump to 20% and appear to stall. It is still working.
Once it completes restart the computer and check if the error has been corrected.