To lock the keypad, press Options from the home screen and select Key Lock.
To unlock, press followed by *.