I did a teeny tiny bit of digging in my saves (opening/editing the text files that get made when you export a save) and found a bunch of flags/traits I've never seen in game. The one I was most curious about was something along the lines of 'permalock' . When setting it to true, I think it's supposed to permanently cage you, but the game sort of struggles with that and I got softlocked and had to reload.
Is there any way to trigger the 'permalock' flag/event in game or is it limited to just savefile editing?