Right chaps I've had a similar problem to this.
Car opens fine with fob but when I shut the drivers door the car locks. Shutting the passenger door causes no problems. Both doors lock when starting the engine.
So, I gave the locking mechanism on the drivers door a good squirt of wd40 then...