There are so many options!
My favorite conceptually is a dead-man switch. For example, something will have a password only you have, as long as you input you are alive every x days. If you die, eventually it switches to another password someone else might have.
It really is amazing to think how hard it is to keep something safe, once you are tasked with it.