A probe is set to be held into Jonathan Graham's death behind bars at HMP Shotts.