Download from Microsoft Sysinternals Process Explorer
Then select from the menu Find - Find Handle or DLL... or CTRL+F type the name of the file/folder.
Then you can either close the process or just select the file/folder handle and right click - Close Handle.