A method, comprising: receiving via a reader device (108, 408) location information from a mobile device (102, 402, 502), wherein the reader device (108, 408) and the mobile device (102, 402, 502) communicate via Bluetooth communication; determining from the location information that the mobile device (102, 402, 502) is in a connection zone relative to the reader device (108, 408) and establishing a connection between the mobile device (102, 402, 502) and the reader device (108, 408) when the mobile device (102, 402, 502) is in the connection zone, the location information including a received signal strength indication (RSSI) information associated with the Bluetooth communication; verifying credential information from the mobile device (102, 402, 502) after establishing the connection; after verifying the credential information, determining the mobile device (102, 402, 502) is in an activation zone relative to the reader device (108, 408), wherein the activation zone is in closer proximity to the reader device (108, 408) than the connection zone; determining via the reader device (108, 408) an automatic function to perform based at least in part upon the location information indicating that the mobile device (102, 402, 502) is in the activation zone, characterized in that the determining of the automatic function is further based upon a speed and direction of movement of the mobile device (102, 402, 502) determined from the RSSI information; and performing via the reader device (108, 408) the automatic function, wherein the automatic function includes locking an electronic lock (504, 604) in response to a first location information indicating a speed and direction of movement of the mobile device (102, 402, 502) away from the electronic lock (504, 604) and automatically unlocking the electronic lock (504, 604) in response to a second location information indicating a speed and direction of movement of the mobile device (102, 402, 502) toward the electronic lock (504, 604). receiving via a reader device (108, 408) location information from a mobile device (102, 402, 502), wherein the reader device (108, 408) and the mobile device (102, 402, 502) communicate via Bluetooth communication; determining from the location information that the mobile device (102, 402, 502) is in a connection zone relative to the reader device (108, 408) and establishing a connection between the mobile device (102, 402, 502) and the reader device (108, 408) when the mobile device (102, 402, 502) is in the connection zone, the location information including a received signal strength indication (RSSI) information associated with the Bluetooth communication; verifying credential information from the mobile device (102, 402, 502) after establishing the connection; after verifying the credential information, determining the mobile device (102, 402, 502) is in an activation zone relative to the reader device (108, 408), wherein the activation zone is in closer proximity to the reader device (108, 408) than the connection zone; determining via the reader device (108, 408) an automatic function to perform based at least in part upon the location information indicating that the mobile device (102, 402, 502) is in the activation zone, characterized in that the determining of the automatic function is further based upon a speed and direction of movement of the mobile device (102, 402, 502) determined from the RSSI information; and performing via the reader device (108, 408) the automatic function, wherein the automatic function includes locking an electronic lock (504, 604) in response to a first location information indicating a speed and direction of movement of the mobile device (102, 402, 502) away from the electronic lock (504, 604) and automatically unlocking the electronic lock (504, 604) in response to a second location information indicating a speed and direction of movement of the mobile device (102, 402, 502) toward the electronic lock (504, 604).