I’ve just encountered what you described, also in X11. I found I could alt-ctrl-F1 to a console and then login as root use loginctl to unlock the session (I suspect I didn’t need to be root):
- Run
loginctlto list sessions - Run
loginctl unlock-session N
Hopefully that might work for you too.