How to lock Plasma 6 desktop settings -rather non-standard use case

OK, I have a very specific and non-standard use case…

I have configured a touchscreen PC to function as a multimedia player that is operated solely by pressing on Plasmoids. Those Plasmoids each perform a very simple function: kill whatever mediaplayer is active (for instance, VLC or Spotify) and then start it with a predetermined config file. These things happen on the CLI, off-screen.
In order for the end users not to be able to modify any of the settings, I have the whole setup locked down with:
qdbus org.kde.plasmashell /PlasmashellevaluateScript ‘lockCorona(!locked)’ passed through an SSH login. Unlocking happens by changing the part between the brackets with (false).

Now, I am looking to keep this system up-to date so I want to migrate it to Plasma 6 in the near future, but this command no longer works (the evaluateScript isnot a part of Plasma 6).
Is there another way I can achieve the same effect (I looked into Kiosk mode but can’t see how that would fit my goal), or is it possible to migrate this evaluateScript to Plasma 6?
Thanks in advance for your help!

The command still works for me on plasma 6.0.2 (I see Add widgets or Edit mode gone/greyed out) I just changed qdbus to qdbus6

Thank you Louis. That makes so much sense :grinning:

You have just saved me from a lot of worry…

Thank you so much.

You’re welcome! I found about this after seeing some of my scripts that used qdbus falling :upside_down_face:

Yeah, I just finished that machine I built a month ago and figured I should get myself future-proof :slight_smile:
Version 2 will be updated to Plasma 6.

I once again thank you for your help, I will close the query as not to pollute the forum with chatter.

Thanks again!