I always double press my lock button on the fob, and it disables the keyless entry on my car. But you must make sure this has been done on both keys to work.
If you unlock the car with key 1, and double lock with the with key 2, then key 1 will still be active and the car will open. So you...