Unlocker is the best choice in this situation because of its handling of such conditions. You simply download 255KB installer and install it. After installation, when you will do a right click on any file or folder, you will notice that there is one more entry named Unlocker. Simply, you select Unlocker from the menu and after few seconds, you will get a message of unlocking the file/folder. After unlocking, you will also received three options which you ignore if you want.
When you select any action through Unlocker, it gives three options (see snap for more detials);
If you want to delete the unlocked object, use this option.
It let you rename the object after unlocking it.
You can move that unlocked object to any location on your computer.
The best thing is Unlocker does not kill any running process in your operating system. I was expecting such built-in support in Windows 7 but I could not find it. I do not know that this functionality is available in Windows 7 or not. If there is any such built-in function, please, let me know.