lockGUI: improve password input security by not always showing the last password character, when the setting is enabled.
It is now impossible to discover the entered characters (other than eventually the last inserted one) even if backspace and cursor control keys are used.