This tutorial shows how to use Unlocker to remove the file lock so you can move, rename, or delete the file.
Unlocker Home Page
http://emptyloop.com/unlocker/
Have you ever tried to access or delete a file, only to get one of the following messages?
"Cannot delete file: Access is denied"
"There has been a sharing violation."
"The source or destination file may be in use."
"The file is in use by another program or user."
"Make sure the disk is not full or write-protected and that the file is not currently in use."
"The action can't be completed because the file is open".
Out of the many options available to view what program has a file open and locked I prefer to use the program "Unlocker".
Unlocker is used to kill processes that are locking a particular file so they can be safely moved or deleted.