def GetKeyByPath(self, key_path):
raise RuntimeError('<STR_LIT>')<EOL>
Retrieves the key for a specific path.

        Args:
          key_path (str): Windows Registry key path.

        Returns:
          WinRegistryKey: Windows Registry key or None if not available.

        Raises:
          RuntimeError: if the root key is not supported.