The more general question is; what and where are the limits on a LEO's "lawful order"?
I have been threatened with arrest for "disobeying a lawful order" when I cautioned my local cop that I will greet him outside my locked and secured vehicle in a traffic arrest. I cannot find the legal limits in my statutes on his lawful order.
That's a good question I would think each case could be different depending on the circumstances and the state law in question.
IMHO I would think an arrest would be justified if disobeying truly place the public, the person commanded to obey or the officer and the action truly place any or all three in a dangerous situation.
Here's one time that I was temped to use that power in my career and there were only a couple.
We had a vehicle take out a major power line and the wires were still hot laying across the road way.
We had traffic stopped and were in the process of placing barricades' up. A vehicle approach and started around my cruiser and barricades.
The driver became very angry and incessant that he was going to go across the wires and down the road way. I told him in no uncertain terms he would be arrested for disobeying a lawful order if he moved his vehicle any further .
He swore at me turn his vehicle around and left. I really didn't want to arrest the guy my hands were kind of full.
But if he would have tried to continue I would have had to,his actions could have not only placed him in danger plus others.
I personally don't see arresting some one for just getting out of a vehicle after being told not to as a reason . But there could be an exception. The driver is stupid and insist he is going to stand in the traffic lane thus a danger to himself and others.
There are good and lawful orders that should be obey but the law shouldn't be used as a catch all just for saying no.