After the lockers it (theoretical line) goes through 2nd portrait gallery and up the stairs, walks along the front of Dumbledore's office, along the back of dark arts, and then into the common room and such.
Essentially it skips the dungeon, gardens, greenhouse, Oxford corridor, that professor painting where he talks about billiwigs, and the original portrait gallery.