Examples of using private locks