For quite some time now, KDE has intermittently been unable to go to sleep. It will either go to a black screen with the cursor still showing, and the computer running, or it will show a half frozen sddm looking screen with the computer still running. The computer, in both cases, will be wholly unresponsive, and the only way to get out of it is to forcefully shutdown the PC by, for example, holding the power button.
am not personally experiencing the problem you describe, but: have you verified the strange behavior isn't somehow related to your kernel? most people aren't using linux-6.4.x yet. sometimes bugs or intentional changes that break userspace software are introduced. if you haven't done so: I'd test it with the kernel you were using when it last worked.
In the cases with the cursor still showing (and maybe even in the cases with the half-frozen sddm screen (it's actually probably going to be a lockscreen, not sddm)): Can you still switch to a TTY (e.g. CTRL+Alt+F2 or F3)? If so, you could try to run
export DISPLAY=:0; killall plasmashell; sleep 5; plasmashell --replace
and see if this resolves the issue?