A parole officer deliberately has herself put in prison to investigate the death of one of her charges.