Updated answer:
In 2022.3 IDE version new UI can be enabled/disabled without modifying registry keys.
Settings | Appearance & Behavior | New UI:

Original Answer:
Go to Help | Find Action | Registry, start typing the key name for ide.experimental.ui, then disable it. Restart the IDE.