To lock the screen, click the status icons on the right of the main panel and click the padlock icon.
When you lock your screen, at first a curtain with a clock will appear. After some time the screen turns black. To unlock the screen, move the mouse or press a key to display the locked screen dialog. Enter your password, then press Enter to unlock the screen.