300d vacuum issues

I recently purchased an '84 300d and am experiencing issues with what I think is the vacuum system. The car often does not shut off after taking the key out, it takes up to 15 seconds before it finally quits.
At the same time I noticed the power locks taking an extra long time to lock and unlock. No issues with the brakes however. If it is the vacuum pump, how difficult is that to replace?
Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
<%-name%>
Add image file
Upload
The shut down problem is being caused by a leak somewhere in the locking system, the task is to find which lock is the site of the leak.
A bad vacuum pump can be rebuilt with a repair kit but if the pump were the problem the car's brakes would be very hard for lack of vacuum boost. That's not the case.
If there were no door lock issue, which is a clear diagnostic aide, there's the possibility that the vacuum bellows inside the injection pump are worn out and need to be replaced, that's for another time, not now.
Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
<%-name%>
Add image file
Upload
Update: After trying some troubleshooting recommendations I read in some other threads, I noticed that the passenger side rear door seems to be the last lock up or down. All are slow, but that one really appears to creep. I will test again tomorrow to confirm.
Wondering now...how this is related to the engine not shutting off...I realize that the vacuum system services all components that need it, but in that case, wouldn't the brakes and transmission be failing me now too?
Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
<%-name%>
Add image file
Upload

Start by checking for vacuum leaks first, since that's the cheapest. I'm an admitted newbie at this, but I largeley solved a similar problem with my 1985 300SD and actually found SOME acceleration (not a lot) by simply going through and replacing the hoses and clamps. Never hurts to do the easiest and cheapest suff first.
Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
<%-name%>
Add image file
Upload
The vacuum pump must be replaced at 200k miles before it has a chance to fail and cause very expensive damage.The fuel shutoff system is failing in your car. Call Rusty at 800-741-5252 for the part discounted. P.

Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
<%-name%>
Add image file
Upload

Motorsforum.com is a website by car enthusiasts for car enthusiasts. It is not affiliated with any of the car or spare part manufacturers or car dealers discussed here. All logos and trade names are the property of their respective owners.