Before deleting the folder, just close all of the programs that are running on your computer. To check the programs running on your computer you can go to Task Manager, you will see list of programs running on your computer. So you need to end the process which is running, you can do it in the Task Manager itself by ending the process of the programs.