Sorry. Nevermind, I found the solution.
For future readers who are reading this and are looking for help, you might want to download
Unlocker.
After installing Unlocker, right-click on the file you want to delete and press Unlocker. Then a window will come out, click on Unlock All.
Restart the computer, and you should be done!