You can lock your console by pressing and holding the HOME button by the screen and then unlock by doing the same. For extra security you can press and hold a combination of the screen buttons (as long as the home button is include) and the same combination will unlock. See the video below for a demonstration: