St Luke's primary school will trial a scheme to make it safer for pupils to walk and cycle to school.