What does it mean when a man puts his hands behind his head?

When it's under the direction of a police officer, it means that the man is giving up or signaling that he is willing to come quietly. This position makes it very difficult for a person to reach for a weapon concealed on their person (knife, gun, etc.)