Lock is the K (pink) wire
Unlock is the O (orange) wire
Earth is earth
The CCU simply reverses the polarity of the 2 door motor wires. So the pink would go to 85 on 1 relay and 86 goes to earth.
The other relay orange goes to 85 with 86 to earth.
Both relays 30 goes to earth.
Both relays 87 to blue/black.