Task Manager -> Resource Monitor.
CPU Tab -> Associated Handles section. Enter file/folder in the search box. This will show you what process is locking the file/folder.