core.sys.windows.windows: Add file locking APIs