Its pretty easy to avoid being killed by the police. Step 1: Dont commit crimes.
I’d say that Step 1 in avoiding being killed by the police is “if you’re confronted in any way by the police don’t run,don’t resist and don’t say or do anything that might suggest that you’re a threat to anyone”.