Try this:
Shut off engine.
Open driver's window enough to get your arm in (can be done before shutting off engine if you like).
Exit vehicle.
Shut door.
Lock vehicle with key fob or button on door handle.
Walk away for a minute (might not be necessary).
Now manually unlock driver's door by...