There is a project that allows you to make a will and dispose of your crypto-currency assets. This is based on smart contracts. Smart contracts control the fulfillment of your will. So at the moment it's not a problem.
Wow this project is something interesting, I really hope that it is real. Also, I wonder if this project could help you with securing your own cryptos for your successor, that would be totally cool!