code: def release(self):
          
          
          if self.is_locked_by_me():
              os.remove(self.lock_filename)
              logger.debug('The lock {} is released by me (pid: {}).'.format(self.lock_filename, self.pid))
          if self.fd:
              os.close(self.fd)
              self.fd = None
docs: Release the lock.