How do you leave your bitcoin to your family? You don't want to write down any passwords anywhere, or share the private key?
I guess it would be more difficult than you think!
Unless you have the codes saved on your computer, but then you are probably just waiting to be hacked so won't have any Bitcoin to leave as inheritence!
Encrypt the key with a passphrase and split it into different parts. Keep one part at your lawyer, at the bank, and one in your wallet or something. That way you can make sure your coins are safe, while still available to your loved ones in case you pass away unexpectedly.