The car won’t unlock the door(s) just because there is a registered Smart Key within range. First, the Certification ECU wants to know that the owner wants to get in the car, and isn’t just walking by or standing near the car. The touch sensors on the inside of the door handles let the Certification ECU know that the driver wants in, and it obliges by telling the Body Control ECU to unlock the door or doors, depending on how the car has been configured.