Sounds more like a problem with windows than anything else.
So looking at the locked files, are you seeing a message like 'the action can't be completed because the folder or a file in it is open in another program' if you do you need to open the task manager and see if there is still an instance of courselab running, kill the process and try again.
As an example, if you have imported a file from say Outlook and outlook is stil open it can 'own' that file and it will be locked for deletion.
ALSO
Open the folder the files are in and disable folder thumbnails, this sometimes helps to unlock files.
If you still get the lock and hang then open task manager then click on the Processes tab. Look for 'explorer.exe', select it and end the process. This will cause your taskbar and desktop to vanish. Bring up Task Manager again, then click File > New Task (run). Type explorer.exe and hit enter to restart the service.
Another problem can be if a file is written onto a bad sector of the hard drive, it's logged as existing but the OS can't remove it and you can get a hang.
However your problem sounds like its more to do with explorer which is a key function in windows. Do you have any other odd things happening at anytime with other programs or the desktop??
Sounds more like a problem with windows than anything else.
So looking at the locked files, are you seeing a message like 'the action can't be completed because the folder or a file in it is open in another program' if you do you need to open the task manager and see if there is still an instance of courselab running, kill the process and try again.
As an example, if you have imported a file from say Outlook and outlook is stil open it can 'own' that file and it will be locked for deletion.
ALSO
Open the folder the files are in and disable folder thumbnails, this sometimes helps to unlock files.
If you still get the lock and hang then open task manager then click on the Processes tab. Look for 'explorer.exe', select it and end the process. This will cause your taskbar and desktop to vanish. Bring up Task Manager again, then click File > New Task (run). Type explorer.exe and hit enter to restart the service.
Another problem can be if a file is written onto a bad sector of the hard drive, it's logged as existing but the OS can't remove it and you can get a hang.
However your problem sounds like its more to do with explorer which is a key function in windows. Do you have any other odd things happening at anytime with other programs or the desktop??