Report question

Question: How to implement a lock?