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.

Asked by for the 2002 BMW 325i
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.