A £3 million investment into road safety means children and parents can have a safer school run, a Surrey council has said.