Nehemiah 7:3

7:3 I said to them, “The gates of Jerusalem must not be opened in the early morning, until those who are standing guard close the doors and lock them. Position residents of Jerusalem as guards, some at their guard stations and some near their homes.”

Nehemiah 13:19

13:19 When the evening shadows began to fall on the gates of Jerusalem before the Sabbath, I ordered the doors to be closed. I further directed that they were not to be opened until after the Sabbath. I positioned some of my young men at the gates so that no load could enter on the Sabbath day.