I have been locked out of my plex server on my QNAP Nas

The second article has different instructions, depending on where Plex server is running.
QNAP NAS devices don’t use Windows, therefore you must not follow the instructions for Windows.

QNAP use an adapted form of Linux. It uses the Preferences.xml file instead of the registry.

You did not read the paragraph completely. It says:

If claimed is 0 then read ahead, and if not, first try and restart PMS from within QNAP App Center, and if it still shows as claimed, you need to follow the instructions here, and note the following:

  • Use the PlexData share to access the file is recommended, and it’s located in the root of that share
  • Before changing the Preferences.xml file, make sure you have a backup of it!
  • If using Windows, we strongly recommend you use like Notepad++ to edit the file