To allow the use of the camera app without unlocking the screen of your Windows Phone device, you will need to enable a small option:
- Swipe from left to the right side of the StartScreen and go to Settings.
- Swipe from the left to access the Applications menu.
- Go to photos+camera
- Check "Press and hold camera button to wake up the phone".