lockscreen: handle backspace and enter key when switching from keypad
This fixes an issue were pressing the backspace or enter key on a physical keyboard when switching from the keypad, unexpected results would occur. Also, this fixes an issue were if only one key is typed from the initial lockscreen view, the backspace key would not actually do anything.