This is not a bug report...moving it to the more appropriate category.

There is no file locking capability on Windows other than to open the file in read-write mode with exclusive sharing access (which is the default).