code: def request(self, target="candidate"):
          
          node = new_ele("lock")
          sub_ele(sub_ele(node, "target"), target)
          return self._request(node)
docs: Allows the client to lock the configuration system of a device.
  
          *target* is the name of the configuration datastore to lock