Blow or let off steam
To have a good time unrestrained by pressure or responsibility; dates from the 19th century when steam-train and steamship operators would have to blow or let off steam by hand before the invention of automatic steam-release valves.