Dock freezing and right click and expose doesn't work
Found this in SuperUser:


  It looks like your dock has died. If you can get into Terminal (Applications > Utilities > Terminal, I think), try sudo killall Dock. This'll crash-close the Dock, and it should restart happily. If it doesn't, logout and back in again.