The boot lock on the Peugeot 405 would not open. I suspected an electric problem. After trying many times the lock suddenly opened. I checked connections and oiled the moving parts and all seemed well for a while. Until one day the lock refused to open, no matter what I tried. I thought of drilling the lock, but I found pushing the lock farther broke the plastic lip. Now the boot opened, but I would need a new lock. This is the locking mechanism. The brown part is the latching part and the white plastic thing is the actual lock. The lock operates the latch by a metal rod. Another rod connects the electric motor to the latch.
It took quite a while before I realised the two halves of the lock are separated by removing the two screws and the rubber gasket. With the the two halves separated you can remove the lock from the housing and levers.
The new lock comes with a new gasket and two keys.
The lock reassembled and working well.
I decided not to refit the electric motor. So now it's an old fashioned manual lock.