Darwin Award. He should have known not to go into the room with anything metallic.
Prison guards have to leave their guns outside the room when escorting an inmate patient into the room.
Was a famous case in the community in NYC where a cop refused to check his gun walked into the room and it was yanked out of the holster and discharged. Luckily no one died
Unless it’s a Glock 7. ;)