A person commits a misdemeanor if, for the purpose of preventing a public servant from effecting a lawful arrest or discharging any other duty, he or she creates a substantial risk of bodily injury to the public servant or anyone else, or employs means justifying or requiring substantial force to overcome the resistance.