Yes, it does contain a lock. You can access it by pressing the search and L key or by pressing the launcher and L key. Then you need to select the time, which you will find on the bottom right, and select the lock option. So if you find your Lenovo Chromebook keyboard not working, check this lock first.