What to check
Is the desk lead in poor condition, or stretched?
Check which colours in the desk lead are used for the lock button terminal '1'
When pressed, this connects to 'G' so test at the phone whether these two terminals are shorted, and again at the
desk lead socket end.
If it works at the socket end, use a spare conductor in the lead for '1' if you have one.
Corrective Action
Replace desk lead with one of the same type if available or CAT5 type with matching socket.
Links
https://www.entryphone.co.uk/shop/productdetail/DK_LEAD
https://www.entryphone.co.uk/shop/productdetail/DK_LD-8W
https://www.entryphone.co.uk/shop/productdetail/DK_LD-202
https://www.entryphone.co.uk/shop/productdetail/DK_LD-12W