Central locking questions?

Until a few weeks ago if I pressed the button on the door handle it would lock, but now it locks then tries again which de activates the keyless entry. The same as pressing the lock button twice but I only push it once. This isn't always happening but it is annoying. Does anyone know why and how to stop it? Please