def GetKeyByPath(self, key_path):
return self._win_registry.GetKeyByPath(key_path)<EOL>
Retrieves a Windows Registry key for a path specification.

        Args:
          key_path (str): key path.

        Returns:
          WinRegistryKey: Windows Registry key or None.