def lock(self, session, lock_type, timeout, requested_key=None):
        raise NotImplementedError
Establishes an access mode to the specified resources.
dataset/ETHPy150Open hgrecco/pyvisa/pyvisa/highlevel.py/VisaLibraryBase.lock