Cygwin: What is Locking a File

You need sysinternals ‘Handle’ first

cd /cygdrive/c/Tools
./handle.exe “absolute path in Windows format” (needs the quotes)
e.g. ./handle.exe “C:\Development\workspace\my_project\”