There are two ways to lock your computer in Windows 8:
1. Hit Windows Key + L button on your keyboard; or
2. Click on your user account and choose Lock.
Note: This tutorial was written on Windows 8 Release Preview.
To see my other blog post about Windows 8, click here. If you have a different or better way, please share with us.