The full proverb is: "When the cat's away, the mice will play."
It means that when someone in authority is absent, those under their control will take the opportunity to do what they want, often things they wouldn't do if the authority figure was present.