Passenger door locks dont always work on 2002 BMW 325i

When I use the driver door key lock or the inside switch the doors do not always lock/unlock. It takes several tries to get it to react. Obviously everything is working mechanically because they do work eventually. Any help is VERY appreciated.

Get Your Car Fixed at a RepairPal Certified Shop.
We certify shops based on expertise, quality work, and verified customer reviews
1 answer 2 comments
Hi you may have a key problem(programing ) or you neede a new one .
and you may have too go to the delar for a key.
Thanks but the same happens with the internal lock/unlock button. It has the exact same behavior. Any other suggestions? I appreciate your response.
HI CHECK OUT THIS SIT.
http://www.bmwgm5.com/