He had ordered the guards to always let his direwolf go everywhere unimpeded. Not that closed doors could stop Ghost- he was smart enough to open the doors by himself if they were not barred on the inside.