Tap your Power key and the screen locks... but you have to hit a button to unlock, either the Power key again or the Home key. Otherwise go into Settings, Security and lock screen, Screen lock and set up one of the options there.