How to open the camera from the lock screen?

Go to Settings>System>Gestures>Quickly Open Camera and toggle to enable it.

Then, you can press the power button twice to quickly open the camera from any screen.