code: def confd_state_internal_cdb_client_lock(self, **kwargs):
          
          config = ET.Element("config")
          confd_state = ET.SubElement(config, "confd-state", xmlns="http://tail-f.com/yang/confd-monitoring")
          internal = ET.SubElement(confd_state, "internal")
          cdb = ET.SubElement(internal, "cdb")
          client = ET.SubElement(cdb, "client")
          lock = ET.SubElement(client, "lock")
          lock.text = kwargs.pop('lock')
  
          callback = kwargs.pop('callback', self._callback)
          return callback(config)
docs: Auto Generated Code