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