This is an option but it's also risky to entrust those things to a lawyer knowing the details of the encrypted keys.
the lawyers don't have to know the details of the encrypted keys. you can just instruct the lawyer to distribute it when you die
And do you think that the bank will keep something like this?
yes, bank locker is like a vault and you can keep almost anything important or valuable in it.
they don't even recognize cryptocurrencies.
even better. they won't care or take interest to it. but since it is just an encrypted key I doubt they'll be suspicious about it.
Educating your family while you are alive is the best option, teaching them how to access a wallet, retrieving a wallet through private keys that they can easily understand that it's the main key to unlock the funds that you'll above to leave as an inheritance.
yeah, but if you read the OP, the OP is worried that he's relatives might try to steal it and teaching them how it works will just make it easier for them. the process of retrieving it can be easily learned. you can just leave instruction with the encrypted key on how it works or what to do etc...