We can keep our cryptos into the hardware wallets or online ones. We have the secret keys. Like we do for other assets, we can put them in a bank vault and then give a power of attorney to our lawyer that he/she can reach the ones we want to leave a legacy.