class_docstr: Uses the :func:`msvcrt.locking` function to hard lock the lock file on windows systems.
code: def _release(self):
      fd = self._lock_file_fd
      self._lock_file_fd = None
      msvcrt.locking(fd, msvcrt.LK_UNLCK, 1)
      os.close(fd)
  
      try:
          os.remove(self._lock_file)
      # Probably another instance of the application hat acquired the file lock.
      except OSError:
          pass
  
file_path: catboost/contrib/python/filelock/py2/filelock/_windows.py
imports: import os
  from errno import ENOENT
  from ._api import BaseFileLock
  from ._util import raise_on_exist_ro_file
label_desc: Use image node_id 2 for calling the WindowsFileLock obj's underlying member method code with example usage: obj._release() without return types