Mohammad Asif Shinwari, spokesman for the provincial education department, said the attack by three armed men took place over the weekend. No one has claimed responsibility but police and government officials blame Islamic State militants, who are operating in the area.
Meanwhile in northern Afghanistan's Baghlan province, police say gunmen shot and killed a senior government official. They say Mustafa Safayee was killed today by two gunmen on a motorcycle.
Afghanistan has been wracked by violence as the Taliban increases pressure on government security forces and the Islamic State group seeks to establish itself.