You can take photos quickly by pressing the camera key, even when your phone is locked.

To switch this off, in the main menu, select Settings > Application settings > Camera, and switch Capture when phone locked to No.