tom had somehow managed to escape from the house , discovering beyond an extended garden of flowers a small gateway in the outer wall that was thankfully unlocked , leading him out into the freedom of the surrounding meadows and woodland .