Lock the keys
To avoid accidentally making a call when your phone is in your pocket or bag, lock the keys.
Select Menu, and then press *.
Select Unlock, and press *.
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.