(a) It shall be unlawful for any person to resist any member of the law enforcement, or any other person duly empowered with law enforcement authority, while in the discharge or apparent discharge of official duty, or in any way interfere with, obstruct or hinder such officer or other person in the discharge of official duty. (b) It shall be unlawful for any person to follow any law enforcement officer, while in charge of any prisoner, after such person has been commanded to desist such following, or after any crowd has been commanded to disperse. (c) It shall be unlawful for any person to willfully fail or refuse to comply with any lawful order or direction of a law enforcement officer of the county.