Why was it locked?
My undertanding is a CU change means you take responsibility for all circuits
But do you? Or do you only take responsibility for the work that you do?
And what does "take responsibility" mean? To what extent can you take responsibility for the compliance of circuits you didn't install?
OK - you can check continuity and IR, and you can assume that nothing is so deep that RCDs aren't needed, if you believe that you need to in the first place, but you can't be sure there are no undersized sections, you can't be sure there aren't Band I and Band II circuits in the same enclosures, you can't be sure the cables are all in the correct zones and so on and so forth.
and as such they would need to be up to 17th standards.
So there are limits to what "responsibility" you can take - are there also factors which affect if you should?
For example - you say replacing the CU triggers responsibility, and thus, for example, RCDs.
What about replacing just a faulty MCB?
What if you had a rewirable CU with a circuit was on a fuse that was too big, and the customer was OK with you putting the right rewirable in, but wouldn't pay for CU replacement or an outboard RCD - would you refuse to do the work?
What about adding a spur? You could ensure compliance of
your bit of cable by using conduit or BS8436 etc - do you think you have to bring the existing circuit up to 17th requirements?