For three hours on Friday, students will leave lessons and walk out to protest climate change, a move that has found support from head.