'Gates' in the Bible
He made upper Beth Horon and lower Beth Horon fortified cities with walls and barred gates,
As his father David had decreed, Solomon appointed the divisions of the priests to do their assigned tasks, the Levitical orders to lead worship and help the priests with their daily tasks, and the divisions of the gatekeepers to serve at their assigned gates. This was what David the man of God had ordered.
He said to the people of Judah: "Let's build these cities and fortify them with walls, towers, and barred gates. The land remains ours because we have followed the Lord our God and he has made us secure on all sides." So they built the cities and prospered.
He posted guards at the gates of the Lord's temple, so no one who was ceremonially unclean in any way could enter.
Hezekiah appointed the divisions of the priests and Levites to do their assigned tasks -- to offer burnt sacrifices and present offerings and to serve, give thanks, and offer praise in the gates of the Lord's sanctuary.
The musicians, the descendants of Asaph, manned their posts, as prescribed by David, Asaph, Heman, and Jeduthun the king's prophet. The guards at the various gates did not need to leave their posts, for their fellow Levites made preparations for them.