If you use the Camera (built-in app), you can take pictures quickly by pressing the camera key, even when your phone is locked. To disable this feature:
- On the Start screen, swipe left, and select Settings.
- From settings swipe left to Applications > Photos+camera (pictures+camera).
- Enable Prevent accidental camera launch when phone is locked.