For mundane things, yes.
For crimes, a priest can reveal a murderer or serious criminal; and would certainly refuse to absolve anyone who did not turn themselves in.
In certain jurisdictions, they are required by law (like doctors, etc) to reveal crimes against children and other serious crimes.