Free will is something you have the power to act on, regardless of external influences. Just because the fear of punishment exists doesn't mean that a person cannot opt out.
It's the same thing as if an officer during war told you to retreat, however you still defy that order to rescue a fallen comrade in the presence of immediate danger.