From G5442; a guarding or (concretely guard), the act, the parson; figuratively the place, the condition, or (specifically) the time (as a division of day or night), literally or figuratively: - cage, hold, (im-) prison (-ment), ward, watch.
Meanings (from Abbott-Smith's lexicon)
(a) actively, a guarding, guard, watch: cognate accusative, φυλάσσειν φυλακάς, to keep watch, Luke 2:8.
(b) of those who keep watch (as also Latin custodia), a guard; plural, sentinels, a guard: Acts 12:10.
Reconcile quickly with your adversary, while you are still on the way to court. Otherwise, he may hand you over to the judge, and the judge may hand you over to the officer, and you may be thrown into prison.
But understand this: If the homeowner had known in which watch of the night the thief was coming, he would have kept watch and would not have let his house be broken into.