It's not what you think. I just don't want my daughter seeing YouTube.
In the Camera section of the Settings app, there's a Lock Screen Swipe to Open Camera setting, and turning it off disables the feature where you can swipe left to open the camera from the Lock Screen.