Nokia N8-00 - How do I lock the touch screen and keys on my Nokia device?

To lock or unlock the touch screen and keys, slide the lock switch (on right side of device).