def request(self, target="candidate"):
        node = new_ele("lock")
        sub_ele(sub_ele(node, "target"), target)
        return self._request(node)
Allows the client to lock the configuration system of a device.
dataset/ETHPy150Open ncclient/ncclient/ncclient/operations/lock.py/Lock.request