src/transformers/utils/logging.py/_tqdm_cls/set_lock
class _tqdm_cls:    def set_lock(self, *args, **kwargs):
        self._lock = None
        if _tqdm_active:
            return tqdm_lib.tqdm.set_lock(*args, **kwargs)