Lock the keys
To avoid accidentally making a call when your phone is in your pocket or bag, lock the keys.
Select Menu, and press the function key.
Select Unlock, and press the function key.
Set the keys to lock automatically
Select Menu > Settings and Device > Automatic keyguard > On .
Define the length of time after which the keys are locked automatically.