Originally, in olden days, a king could rule with barons, who ruled the more day to day problems of their times. They could go to war, negotiate peace, or execute someone in a barons court.
In most societies, you would have to be born into a certain family to become a baron. So, really, you would have to inherit it. You couldn't just become a baron.