def release_lock(self): """Release the lock on the currently-loaded session data.""" self.locks[self.id].release() self.locked = False