Electromechanical lock with panic function multipoint