means that
people may disregard rules or duties when the person responsible for supervising them is absent.
For example, when the person in charge or in authority is not present, the subordinates become lazy and irresponsible, and do unacceptable things This is a situation where “When the cat’s away the mice will play” applies.