Just finishing BG3. Thre is no way to save the patient. You can unlock the shackles with the Transmutation Knock spell but the patient will die regardless of what you try to do. I think you can now also get the key from Thorm once you have killed him.