Everyone has a past. I'm starting to think you don't want to open up. But truth I'm not even asking for that. The title alone will do. I know I can handle you. I'm a marine dammit! I will shred to pieces the pages you don't like. Lol. Couldn't resist.
By praying to God, Claudius is setting the truth free. He knows what he did was wrong, but still committed with his actions. Hamlet is beyond furious when he hears what he has known all along. Claudius is also being set free because we, the readers, foreshadow that Hamlet is going to kill him. Hamlet just has to wait for the right moment when Claudius is not in touch with God.