A few weeks ago, we were at an installation on an active construction site. We had planned on staying long past when many of the construction workers would be done and we requested permission to stay late. The job foreman was adamant that we ensure all doors were shut and that the main gate was locked behind us as security was very important.
So when we left for the night, we used the lock to secure the gate. This is a standard construction site lock.