KDE Stuck at login screen sometimes with capslock key blinking

Hi,

I am using KDE plasma. Sometimes, When i restart or shutdown or sometimes randomly while playing videos or browsing, My screen will get struck nothing works and capslock light starts blinking. Only restarting works. I am dual booting windows with systemd-boot.

I want to resolve this issue and want to know the root cause. does changing DE helps or changing to fedora help?

Thanks.