The B6001 in the Peak District will be closed to allow for works set to prevent the road from collapsing down the steep bank.