code: def GetSubkeyByName(self, name):
      
      pyregf_key = self._pyregf_key.get_sub_key_by_name(name)
      if not pyregf_key:
        return None
  
      key_path = key_paths.JoinKeyPath([self._key_path, pyregf_key.name])
      return REGFWinRegistryKey(pyregf_key, key_path=key_path)
docs: Retrieves a subkey by name.
  
      Args:
        name (str): name of the subkey.
  
      Returns:
        WinRegistryKey: Windows Registry subkey or None if not found.