On a related note, the focus is also lost when you get "Denied". So if you mistype your password and start typing it in again, typically the start of the password will be lost because the screensaver is doing random "denied" gyrations (bug #44263) instead of paying attention to the keyboard ... and you will be denied again! This is frustrating.
Coincidentally, bug #37913 is vaguely at odds with this one; the reporter apparently finds it mildly confusing that the first, focus- grabbing keypress is entered into the password entry field too. -- Unlock dialog no longer pays attention to keypresses before it appears https://launchpad.net/bugs/56352 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs