An electronic lock method for an elevator installation, comprising: detecting a first presence of a data carrier using a data-carrier reader of an electronic lock; communicating an indicator for a first command using an output device of the electronic lock; detecting a second presence of the data carrier using the data-carrier reader; communicating an indicator for a second command using the output device; detecting a confirmation of the data carrier with the data-carrier reader, - wherein the first and second presences of the data carrier result from the data carrier being held continuously in range of the data-carrier reader and wherein the confirmation of the data carrier comprises an absence of the data carrier, or - wherein the first and second presences of the data carrier result from the data carrier being moved out of range of the data-carrier reader and then moved into range of the data-carrier reader and wherein the confirmation of the data carrier comprises a continued presence of the data carrier; as a result of detecting the confirmation of the data carrier, selecting the second command with a computer-based control unit of the electronic lock, the first command being different from the second command, wherein the second command comprises an elevator installation command; and sending, by the computer-based control unit, the elevator installation command to an elevator system for execution. detecting a first presence of a data carrier using a data-carrier reader of an electronic lock; communicating an indicator for a first command using an output device of the electronic lock; detecting a second presence of the data carrier using the data-carrier reader; communicating an indicator for a second command using the output device; detecting a confirmation of the data carrier with the data-carrier reader, - wherein the first and second presences of the data carrier result from the data carrier being held continuously in range of the data-carrier reader and wherein the confirmation of the data carrier comprises an absence of the data carrier, or - wherein the first and second presences of the data carrier result from the data carrier being moved out of range of the data-carrier reader and then moved into range of the data-carrier reader and wherein the confirmation of the data carrier comprises a continued presence of the data carrier; - wherein the first and second presences of the data carrier result from the data carrier being held continuously in range of the data-carrier reader and wherein the confirmation of the data carrier comprises an absence of the data carrier, or - wherein the first and second presences of the data carrier result from the data carrier being moved out of range of the data-carrier reader and then moved into range of the data-carrier reader and wherein the confirmation of the data carrier comprises a continued presence of the data carrier; as a result of detecting the confirmation of the data carrier, selecting the second command with a computer-based control unit of the electronic lock, the first command being different from the second command, wherein the second command comprises an elevator installation command; and sending, by the computer-based control unit, the elevator installation command to an elevator system for execution.