There are many rooms at Hogwarts that require a password for you to enter. The following is a list that have been used:
 Chamber of Secrets
"Open Up" - Parseltongue
 Gryffindor Common Room
Fairy Lights/Lairy Fights
Tickle the huge green pear in the picture of a giant fruit bowl.
 Prefect's Bathroom
 Professor Dumbledore's Office
 Room of Requirement
Walk past the tapestry of Barnabas the Barmy three times while concentrating hard on what you need.
 Secret Passage to Hogsmeade
Dissendium - use your wand to tap the hump on the humpbacked, one-eyed witch on the third floor.
 Slytherin Common Room
 Ravenclaw Common Room
Those who wish to enter must correctly answer a difficult question.
Related ThreadsCAN NOT FIND PORTRAIT PASSWORD!!!!!!!! - last post by @ Jul 27, 2009
Beans and Passwords - last post @ Jan 4, 2002
Password troubles !!! - last post by @ Mar 23, 2011
dungeon password - last post by @ Jan 1, 2014
Portrait passwords - last post by @ Apr 10, 2011