James Smith, 44, was working a night shift at Norwich Prison where he was tasked with carrying out regular checks on at-risk prisoners.