If you get on your mount and you want to run mounted into a building or a place you can't normally be mounted in. highlight over an npc inside the "building" that you can interact with and right click him. You will run mounted all the way to that npc and then unmount after you get to him.