Yeah this one's a weird one. It depends on who said it or how it was said, but but best way to explain is that whoever said it is facing consequences. Say I failed a class and my parents got my report card. I'd say to a friend, "I'm in for it," meaning that I'm going to be in trouble when I get home. Does that make sense?