Save the password. Read it. Make sure it works. If not, inform the user that it failed, and enter a different password.
Not all keyboards can enter all characters. The phone lock keypad in 3.1.2 or so (not sure if it has been fixed) had an error that would limit you to "ASCII-capable keyboards" (for example, not Hebrew), but not limit the characters that could be entered ; allowing some keys to add extra accents, and some keyboards had extra characters. Then you can turn off some keyboards, lock the phone, and you won’t be able to unlock it completely. (I made a backup before testing this.)
, .
, : . . ( ).
() . 3.1.2 ( , 3.2); , , "Backup".
.