I managed to get the batteries and put them in the keypad, but couldn't make out the numbers. Then the guard killed me and I respawned without the battery, which the keypad was asking again. Having the player not be so slow would have made this more playable.