Cannot login after long AFK at lock screen with monitor off

I am pretty sure that this issue and the one in this topic Black screen after display disconnection (wayland + nvidia) are very related, if not the same issue. Hence I am very interested if we can glean something from the logs here.