FYI- In Windows NT based systems if the process is gone all of it's files will be closed. The process must exist to lock a file.