There is a real big huge "it depends" here. First off if you are breaking the law then you run the risk of the police shooting you regardless of who you are. That is just a given. That risk increases if you exhibit certain behaviors. That risk skyrockets if you have a weapon.
However, police departments have been take huge steps to avoid having to shoot people to stop them from hurting themselves, other people and/or the police officers.
So the real question is "if you don't want to get tasered, pepper sprayed, punched in the face, tackled to the ground or shot then you then you shouldn't be breaking the law".
My question is why, in a room of other protestors, was she singled out? Why weren't there more shootings? Did she do something to cause the police to react so violently? Were these cops armed with any non-lethal weapons?
No innocent person deserves to die. If the person is guilty of a crime then depending on the crime they do not deserve to die. If the crime is murder and they appear to be trying to kill a cop or someone else then they deserve to be shot by any type of weapon that will prevent any future murders.
Breaking into the Capitol hardly merits the death penalty. So that brings me back to the question of what, besides breaking the law, did she do to cause an officer to shoot and kill her? I haven't read or seen anything on the news that indicated that she was acting erratically but i could have missed it. If she was she still didn't deserve it but neither does the cop deserved to be blamed for shooting her. If she wasn't out of line then why did the cop use lethal force? Either the cop was a Democrat who thinks conservative are no better than pond scum or they were bad or they didn't possess any non-lethal weapons.