Logging in with correct password fails

On a few occasions now have I run into a situation where after my computer goes to sleep/is-closed, when I wake it back up and get the login screen it tells me my password is incorrect “Sorry, that didn’t work. Please try again”. I try multiple times making very sure that I am typing it in correctly or that caps isn’t enabled, but it still fails. I end up having to choose the option to login as another user, select my account and then it works.

Edit: It is now happening every time.

I think this is a GNOME issue. I’ve had the same problem on Ubuntu and Fedora when using GNOME (though I don’t have a Librem laptop).
I haven’t really been able to trace the cause.