Some schools in England will have to relocate teaching until safety measures can be put in place.