AutoLock automatically locks the BlackBerry keyboard after the backlight turns off, optionally waiting a configurable delay after the backlight shuts before locking the keys.
To enable/disable or set the delay, go to Options->AutoLock
Random Application for BlackBerry Curve 3G 9300 (RIM Kepler)