Water connection replacement works have closed a Lancashire road for the next five days.