What does it mean when a girl leans her head on your shoulder?

I've had my girlfriend so it when we were watching a movie. I've had a close friend who is a stranger do it when I asked if she was tired. And I've even had a girl who I don't know super well do it. What does it mean? And do all girls do it?
What does it mean when a girl leans her head on your shoulder?
Post Opinion