1 Chronicles 9:27

27 They would spend the night patrolling God's house since they had guard duty and were responsible for unlocking it every morning.