I accidentally broke into a dead man's house.
Why would you break into the house of a dead person?
I was curious what was in there.
It's really bad to trespass on another's property. For one thing, you can get arrested.
Man, why can't I just ask if I can look at their stuff. I just thought it would be interesting to see what this dude had.
Your curiosity got the better of you, but please do not break into someone's house just to see what they have. Alternatively, next time, you could get to know them instead and ask to be invited over if you wish to see inside.