How much current do the opto-coupler LEDs need? Will 10kOhms provide that current?
I would put the opto-coupler transistor between the input and 0V and use the built in pull up resistors. You don't need the capacitors, if the signal needs debouncing you can do that in software.
With only 1mA in the opto coupler the output pullup resistor needs to be quite large, but I think 100k is
plenty, most opto-couplers have a current transfer ratio around 25% to 200%. And that capacitor is likely
to be necessary to prevent noise coupling to the high-impedance secondary side of the opto coupler - the
automotive environment can be very electrically noisy.
If going to use built-in pull-ups, I'd reduce the input resistor to 3k3 or so to up the opto coupler input
level.
I might consider some 100nF caps across the opto coupler inputs too in case there are inductive spikes
zinging around from the latch solenoids.
Thanks for the replies. I was thinking something like what dougp has suggested but was unsure of the implications. When I measure between either the Unlock or Lock wire and GND I measure 7v.