I don't believe Karma to be some cosmic force that always makes sure bad people get what they deserve. There's a lot of bad individuals who lead happy and satisfying lives, killers who have gotten away with it, thieves, etc. Many people go through life without "getting what they deserve" so to speak. There's a rapist out there right now who will never be raped nor spend time in prison.
However, I think Karma comes under common sense. If you do bad things, no doubt you'll make a lot of enemies and therefore the chances of something bad happening to you increases. Likewise, if you do good, you'll have more friends who appreciate that and who will probably want to return the favor at some point.
Suppose you steal $100,000 and get away with it. You think to yourself "this was easy" and once you spend all of it you start to want more money. It was easy the first time, surely it'll be easy again right? You attempt to do it again, get caught and suddenly find yourself poor and in a cell (where funnily enough other prisoners steal your things).
Not a lot of people can control the greed, desire, etc that compels you to do bad things over and over again. It's not a law of the universe IMO. I just think people bring their own misfortune(s) onto themselves. The same is true for good deeds. If you do good deeds often, you develop traits that makes it more likely that good stuff will happen to you.
It's all human behaviour and emotions, nothing spiritual. At least, that's what I think. I don't understand why this thread was closed, Karma isn't really controversial. Topics like "Are you Muslim or Christian?" are much more likely to turn nasty but this is fine.