Pregunta de entrevista de FoodServiceWarehouse.com

What does the lock keyword in c# do?