No person shall fail or refuse to comply with or to perform any act forbidden by any lawful order, signal, or direction of a traffic or police officer, or a member of the fire department, or a person authorized by the chief of police or by law. (Prior code § 3002(a))