A man was shot and killed by police at a crime scene.