Free will for Beccaria and the classical school, even though people are hedonistic, they also possess reason, and can therefore calculate the course of action that is really in their self -interest. This gives them a degree of freedom over their situation.
Other /More definition:
Free will is defined as the idea that human beings are capable of freely making choices or decisions. Please see Nondeterminism.