Add support for grace lock in lockscreen keypad
Currently, the lockscreen might show "Wrong PIN" when the attempt failed because of the attempt being within the grace lock time (cooldown), even when the passcode is correct. This adds a visual cooldown when the unlock is being attempted, and waits until the grace lock is over before attempting the passcode.