Loginctl lock-session stopeed working after upgrading to Fedora 34

Hello.
I was using KDE Connect for locking and unlocking my computer from my smartphone with the commands ‘loginctl lock-session’ and ‘loginctl unlock-session’ in Fedora 33 but they stopped working after upgrading to Fedora 34.
If I run the commands in a terminal they don’t show any error or output at all, but running ‘loginctl’ without arguments shows correctly the active sessions.
Any ideas? Thank you in advance.

Try to collect the error message from the logs or CLI output.