This was a known issue in earlier pearOS NiceC0re builds - the lockscreen sits there and won't accept your password after waking from sleep.

If it happens to you:

loginctl list-sessions
loginctl unlock-session <session-id>

If this keeps happening, run sudo pacman -Syu and reboot - this was fixed in later NiceC0re releases.