Just noticed this in Froyo. Along with the pattern unlock, there's now the option to select a pin code as well as a password.

(download)