Arrangement for securely closing a head module (100, 300, 400) of a device (10, 20, 30) for handling notes of value, having a head module (100, 300, 400), which comprises a frame (136, 436) and a front panel, having at least one sensor unit for outputting a control signal, having an authentication unit for determining authentication information, having at least one mechanically actuable locking element (174, 176, 374, 376), having a control unit, wherein the head module (100, 300, 400) comprises at least one electromechanical locking unit (130, 132) which, in a locking state, locks the front panel to the frame (136, 436) and which, in an unlocking state, releases the lock, wherein the control unit is designed to carry out detection of the control signal and verification of the authentication information, and wherein the control unit is designed to activate the electromechanical locking unit (130, 132) in such a manner that the electromechanical locking unit (130, 132) changes from the locking state into the unlocking state only when the control signal is detected and when the authentication information has been successfully verified, wherein at least one rod-shaped locking element (178, 180) is arranged at a fixed position in the head module (100, 300, 400) and, in the locking state, is in engagement with the mechanically actuable locking element (174, 176, 374, 376), wherein the front panel is pivotable relative to the frame, or is removable from the frame (136, 436) or is displaceable horizontally and/or vertically relative to the frame (136, 436) by means of at least one telescopic rail, only when the at least one mechanically actuable locking element (174, 176, 374, 376) and the at least one electromechanical locking unit (130, 132) is unlocked, and wherein the sensor unit is designed to detect the opening of a door of the head module and, starting from the detection of the opening of the door, to output the control signal and to transmit same to the control unit. having a head module (100, 300, 400), which comprises a frame (136, 436) and a front panel, having at least one sensor unit for outputting a control signal, having an authentication unit for determining authentication information, having at least one mechanically actuable locking element (174, 176, 374, 376), having a control unit, wherein the head module (100, 300, 400) comprises at least one electromechanical locking unit (130, 132) which, in a locking state, locks the front panel to the frame (136, 436) and which, in an unlocking state, releases the lock, wherein the control unit is designed to carry out detection of the control signal and verification of the authentication information, and wherein the control unit is designed to activate the electromechanical locking unit (130, 132) in such a manner that the electromechanical locking unit (130, 132) changes from the locking state into the unlocking state only when the control signal is detected and when the authentication information has been successfully verified, wherein at least one rod-shaped locking element (178, 180) is arranged at a fixed position in the head module (100, 300, 400) and, in the locking state, is in engagement with the mechanically actuable locking element (174, 176, 374, 376), wherein the front panel is pivotable relative to the frame, or is removable from the frame (136, 436) or is displaceable horizontally and/or vertically relative to the frame (136, 436) by means of at least one telescopic rail, only when the at least one mechanically actuable locking element (174, 176, 374, 376) and the at least one electromechanical locking unit (130, 132) is unlocked, and wherein the sensor unit is designed to detect the opening of a door of the head module and, starting from the detection of the opening of the door, to output the control signal and to transmit same to the control unit.