A road in Weymouth is to be partially closed while church building work is carried out