Xhorse VVDI Mini OBD tool can read PIN code from Pugeot and Citroen. With the PIN you can program key (add key/all keys lost). All you need is a VVDI Mini OBD and a Smartphone.
Example:
Insert Mini obd tool with vehicle via OBD socket
in Mini OBD App, select IMMO programming->Peugeot->Password reading->Type (Here select Type 1 CAN)->Start execution
Loading data
This function will cause wiper to move, which is normal
Select IMMO Password reading
Citroen share the same procedure in xhorse mini obd:
https://www.vvdishop.com/service/xhorse-vvdi-mini-obd-read-peugeot-citroen-pin-code.html