would it be possible to program a smart contract tied to the key owner's death in some provable way, in order to release a key retrieval mechanism to their heir?
I suppose you could surgically implant a private key inside your body that could be used to decrypt a cache of your other or private keys. It'd have to be somewhere that can't be accessed without killing you, though.