besides , there were three gates at various intervals so that they could be locked to prevent the attackers follow the escapees , and the victim could easily escape to the river in the house boat which was always stocked with provisions enough for at least a month .