hello
I had a similar problem with deleting a file which seemed to be locked- found a prgram called "unlocker" on
howtohaven.com: Tutorials and guides on how to do various things with your computer which solved the problem for me. freeware and source code is available so its worth a try.
Rock on.