Let your hair down
Behave in a free or uninhibited manner.
Letting one's hair down was a commonplace part of women's daily activities in the 17th century. The hair was normally pinned up and was let down for brushing or washing. The term used for this at the time was dishevelling. Anyone who is unkempt and generally untidy might now be described as dishevelled but then it applied specifically to hair which was unpinned. The first reference I can find which refers specifically to this is John Cotgrave's, The English treasury of wit and language, 1655:
" Descheveler, to discheuell; to pull the haire about the eares."