The way hair-cutting features in literature is quite interesting--usually a symbol of liberation, or insanity, or self-possession after being spurned. It seems to work similarly in real life. If you want to change yourself, or publicize a change, you get a haircut.