
No, you cannot and should not lock your car doors using the power door lock switch or key fob while the vehicle is in Drive (D). Modern vehicles have a built-in safety feature that automatically prevents the doors from locking when the transmission is in any driving gear. This is a critical design to prevent occupants, especially children, from being accidentally locked inside a moving vehicle. If you hear a clicking sound but the doors don't lock, that's this safety system in action.
The primary reason this feature exists is to ensure an exit path in an emergency. For instance, if you were involved in an accident and the electronic systems failed, first responders or you yourself need to be able to open the doors from the inside to get out. The mechanism works by prioritizing the transmission's gear signal over the lock command. However, you can usually lock the doors manually using the individual manual lock knobs on each door, though this is not recommended while driving.
If your car does allow locking in drive, it might indicate a malfunction or that the vehicle is an older model without this standard safety protocol. The safest practice is to come to a complete stop, shift into Park (P), and then lock the doors before exiting. The following table outlines the typical behavior of door locks based on transmission gear for most modern vehicles:
| Transmission Gear | Door Lock Switch / Key Fob | Manual Lock Knob | Typical Behavior |
|---|---|---|---|
| Park (P) | Activated | Engaged | Doors will lock normally. |
| Neutral (N) | Activated | Engaged | Doors may or may not lock (model-dependent). |
| Reverse (R) | Activated | Engaged | Doors will NOT lock electronically. |
| Drive (D) | Activated | Engaged | Doors will NOT lock electronically. |

My car just won't let me. I've tried it when I'm idling at a long light and want to feel more secure. I hit the lock button on the door, and I hear a click, but the pins don't drop down. I asked my mechanic about it, and he said it's supposed to do that. It's a safety thing so you can't trap someone inside by accident. You gotta be in park to lock it with the button. If I really need to, I can push the little manual lock tab down, but I don't see a reason to.

As a parent, I'm actually glad this feature exists. I remember once my kid accidentally hit the power lock switch while we were driving. Nothing happened—the doors stayed unlocked. It was a relief to know the car is smarter than a curious toddler. It’s designed to prevent a dangerous situation where a child could be locked in a moving car. The rule is simple: if the car isn't in 'Park,' the electronic locks won't engage. It's one less thing to worry about.

Older cars might let you do it, but any car made in the last 15-20 years probably has a locking interrupt. The body control module receives a signal from the transmission that it's in a drive gear and ignores the lock request. It's a basic but important part of vehicle safety standards. If yours does lock in drive, have it checked out. It might mean a sensor is faulty. Always use the Park position for secure locking.

I learned this the hard way at a drive-thru. I pulled up to the window, and before I got my food, I tried to lock the doors out of habit. Click. Nothing. I felt a little silly, but it makes perfect sense. It forces you to be in a complete stopped and parked position before securing the vehicle. This prevents you from driving off with the doors locked, which could be a problem if you needed to exit quickly. Now I just wait until I'm parked.


