The artist, Lars Vilks, had been under police protection since 2010, after his sketch prompted widespread condemnation from Muslims. He was killed along with two bodyguards in a crash that the police said was an accident.