Unlocking after exit from screensaver

Screen locks fine when screensaver is activated. About 3 days after enabling this, the unlock window appears but won't accept any input from the keyboard. End up having to click Switch User then it takes me to the login screen and I can input the password there and it opens the previously locked session - everything that was open is still open. Any ideas on how to fix this?