(1)The keys of the cell in which a condemned prisoner is confined shall be kept by the head warder on duty who, on hearing the alarm, shall proceed to such cell which, in case of emergency such as attempt by the prisoner to commit suicide, he shall enter and with the help of the sentry frustrate it.