A locking mechanism configured to cooperate with at least one identification key having an identification code , the locking mechanism comprising an indoor mechanical actuation lever , an outdoor mechanical actuation lever and a lock clutch , each mechanical actuation lever being configured to switch between a closed configuration and an open configuration, wherein the lock clutch is configured to take at least three positions: - a first position where the lock clutch is disengaged from the indoor mechanical actuation lever and outdoor mechanical actuation lever , - a second position where the lock clutch is engaged with the indoor mechanical actuation lever and outdoor mechanical actuation lever , - a third position where the lock clutch is engaged with the indoor mechanical actuation lever and disengaged from the outdoor mechanical actuation lever , each mechanical actuation lever being configured to switch between the closed configuration and the open configuration when moved if the identification code of the at least one identification key is an authorized code of the locking mechanism , the locking mechanism comprising: a processor configured to read the identification code of the at least one identification key and determine if the identification code is an authorized code of the locking mechanism ; wherein the locking mechanism is characterized in that it further comprises an access to a presence sensor, and the processor is further configured to send to the lock clutch switching commands to an engaged state, where the lock clutch is engaged with the indoor mechanical actuation lever , when the presence sensor detects an authorized user to be present in the room as he was authorized to enter, and to be switched to a disengaged state, where the lock clutch is disengaged with the indoor mechanical actuation lever , when the presence sensor detects nobody to be present in the room. wherein the lock clutch is configured to take at least three positions: - a first position where the lock clutch is disengaged from the indoor mechanical actuation lever and outdoor mechanical actuation lever , - a second position where the lock clutch is engaged with the indoor mechanical actuation lever and outdoor mechanical actuation lever , - a third position where the lock clutch is engaged with the indoor mechanical actuation lever and disengaged from the outdoor mechanical actuation lever , - a first position where the lock clutch is disengaged from the indoor mechanical actuation lever and outdoor mechanical actuation lever , - a second position where the lock clutch is engaged with the indoor mechanical actuation lever and outdoor mechanical actuation lever , - a third position where the lock clutch is engaged with the indoor mechanical actuation lever and disengaged from the outdoor mechanical actuation lever , each mechanical actuation lever being configured to switch between the closed configuration and the open configuration when moved if the identification code of the at least one identification key is an authorized code of the locking mechanism , the locking mechanism comprising: a processor configured to read the identification code of the at least one identification key and determine if the identification code is an authorized code of the locking mechanism ; wherein the locking mechanism is characterized in that it further comprises an access to a presence sensor, and the processor is further configured to send to the lock clutch switching commands to an engaged state, where the lock clutch is engaged with the indoor mechanical actuation lever , when the presence sensor detects an authorized user to be present in the room as he was authorized to enter, and to be switched to a disengaged state, where the lock clutch is disengaged with the indoor mechanical actuation lever , when the presence sensor detects nobody to be present in the room. <EOS>