A self-configurable electronic lock operable to automatically set a wireless protocol profile to allow the electronic lock to communicatively join the system in which the lock is to be incorporated, the electronic lock comprising: a latch assembly including a bolt movable between an extended position and a retracted position; a keypad for receiving a user input and/or a key actuator for receiving a removable key; and a circuit is configured to control movement of the bolt between the extended and retracted positions when the user inputs a valid code via the keypad or wherein the bolt is moved between the extended and retracted positions when the user actuates the key actuator with the key; the electronic lock being characterized in that it further comprises: a wireless module configured to communicate wirelessly with other electronic communication devices of the system in range of the lock; a non-transitory computer-readable medium having a plurality of wireless protocol profiles and a computer program code stored thereon; and a processor in communication with the computer-readable memory configured to carry out instructions in accordance with the computer program code, wherein the computer program code, when executed by the processor, causes the processor to perform operations comprising: determining during power-up of the electronic lock whether a default wireless protocol profile has been established; and responsive to determining that the default wireless protocol profile has not been established, executing in sequence the plurality of wireless protocol profiles stored in the computer-readable medium until a wireless protocol profile from the plurality of wireless protocol profiles establishes wireless communications with another wireless communication device and setting the wireless protocol profile that was able to establish wireless communications as the default wireless protocol profile; or responsive to determining that the default wireless protocol profile has already been established, the processor automatically loading the default wireless protocol. a latch assembly including a bolt movable between an extended position and a retracted position; a keypad for receiving a user input and/or a key actuator for receiving a removable key; and a circuit is configured to control movement of the bolt between the extended and retracted positions when the user inputs a valid code via the keypad or wherein the bolt is moved between the extended and retracted positions when the user actuates the key actuator with the key; the electronic lock being characterized in that it further comprises: a wireless module configured to communicate wirelessly with other electronic communication devices of the system in range of the lock; a non-transitory computer-readable medium having a plurality of wireless protocol profiles and a computer program code stored thereon; and a wireless module configured to communicate wirelessly with other electronic communication devices of the system in range of the lock; a non-transitory computer-readable medium having a plurality of wireless protocol profiles and a computer program code stored thereon; and a processor in communication with the computer-readable memory configured to carry out instructions in accordance with the computer program code, wherein the computer program code, when executed by the processor, causes the processor to perform operations comprising: determining during power-up of the electronic lock whether a default wireless protocol profile has been established; and responsive to determining that the default wireless protocol profile has not been established, executing in sequence the plurality of wireless protocol profiles stored in the computer-readable medium until a wireless protocol profile from the plurality of wireless protocol profiles establishes wireless communications with another wireless communication device and setting the wireless protocol profile that was able to establish wireless communications as the default wireless protocol profile; or responsive to determining that the default wireless protocol profile has already been established, the processor automatically loading the default wireless protocol. determining during power-up of the electronic lock whether a default wireless protocol profile has been established; and responsive to determining that the default wireless protocol profile has not been established, executing in sequence the plurality of wireless protocol profiles stored in the computer-readable medium until a wireless protocol profile from the plurality of wireless protocol profiles establishes wireless communications with another wireless communication device and setting the wireless protocol profile that was able to establish wireless communications as the default wireless protocol profile; or responsive to determining that the default wireless protocol profile has already been established, the processor automatically loading the default wireless protocol.