[ONE Q&A, Help & Troubleshooting] hachel:
I'm running it clean. It also happens when I use the lockscreen shortcut for the camera. It only happens when my screen is locked via a pattern (I use smartlock when I'm at home to switch to slide to open).

This is what logcat shows while using the lockscreen shortcut:

07-23 14:59:49.910 772 3175 I ActivityManager: START u0 {act=android.media.action.STILL_IMAGE_CAMERA_SECURE flg=0x800000 cmp=org.cyanogenmod.snap/com.android.camera.SecureCameraActivity} from uid 10019 on display 0
07-23 14:59:49.910 772 3175 W ActivityManager: startActivity called from non-Activity context; forcing Intent.FLAG_ACTIVITY_NEW_TASK for: Intent { act=android.media.action.STILL_IMAGE_CAMERA_SECURE flg=0x800000 cmp=org.cyanogenmod.snap/com.android.camera.SecureCameraActivity }
07-23 14:59:50.218 772 3175 I WindowManager: Screenshot max retries 4 of Token{db809b6 ActivityRecord{f838d51 u0 com.android.gallery3d/.app.GalleryActivity t2226}} appWin=Window{d6c2987 u0 SurfaceView} drawState=4
07-23 14:59:50.234 772 819 W art : Long monitor contention event with owner method=int com.android.server.am.ActivityStackSupervisor.startActivityMayWait(android.app.IApplicationThread, int, java.lang.String, android.content.Intent, java.lang.String, android.service.voice.IVoiceInteractionSession, com.android.internal.app.IVoiceInteractor, android.os.IBinder, java.lang.String, int, int, android.app.ProfilerInfo, android.app.IActivityManager$WaitResult, android.content.res.Configuration, android.os.Bundle, boolean, int, android.app.IActivityContainer, com.android.server.am.TaskRecord) from ActivityStackSupervisor.java:953 waiters=0 for 318ms
07-23 14:59:50.234 772 3936 W art : Long monitor contention event with owner method=int com.android.server.am.ActivityStackSupervisor.startActivityMayWait(android.app.IApplicationThread, int, java.lang.String, android.content.Intent, java.lang.String, android.service.voice.IVoiceInteractionSession, com.android.internal.app.IVoiceInteractor, android.os.IBinder, java.lang.String, int, int, android.app.ProfilerInfo, android.app.IActivityManager$WaitResult, android.content.res.Configuration, android.os.Bundle, boolean, int, android.app.IActivityContainer, com.android.server.am.TaskRecord) from ActivityStackSupervisor.java:953 waiters=1 for 317ms
07-23 14:59:50.252 772 3389 I qti_sensors_hal: LIS3DH Accelerometer: batch 15.00 inf
07-23 14:59:50.302 21825 21825 V StateManager: saveState
07-23 14:59:50.302 21825 21825 V StateManager: saveState class com.android.gallery3d.app.SinglePhotoPage
07-23 14:59:50.304 799 799 W Binder_2: type=1400 audit(0.0:7350): avc: denied { ioctl } for path="socket:[965788]" dev="sockfs" ino=965788 ioctlcmd=7704 scontext=u:r:system_server:s0 tcontext=u:r:system_server:s0 tclass=unix_stream_socket permissive=0
07-23 14:59:50.304 799 799 W Binder_2: type=1400 audit(0.0:7351): avc: denied { ioctl } for path="socket:[965788]" dev="sockfs" ino=965788 ioctlcmd=7704 scontext=u:r:system_server:s0 tcontext=u:r:system_server:s0 tclass=unix_stream_socket permissive=0
07-23 14:59:50.313 21825 22351 I GLRootView: GLObject has changed from com.google.android.gles_jni.GLImpl@149d0d4 to com.google.android.gles_jni.GLImpl@e95cfc7
07-23 14:59:50.330 21825 22351 I GLRootView: onSurfaceChanged: 1080x1848, gl10: com.google.android.gles_jni.GLImpl@e95cfc7

Edit: this is about my lockscreen freezing when I try to go directly to camera from lockscreen via shortcut or double tabbing the power button