One million Nigerian children will likely stay away from school because of the threat of violence after a series of mass kidnappings and attacks targeting students this year, the UN said on Wednesday.