Ten people were killed in the rare use of force that may escalate tensions amid rising protests over the killing of Iran’s leader.