Use 2 or 3 safety deposit boxes, they are very cheap.
Coercion is a thing, and despite what you see in the movies, you'd be surprised at how fast you offer the password.
But perhaps more certainly, you will at some point die, and it's probable you will do so lacking the capacity to pass the code on to your heirs. So if you want your wife and family to jnherit, well, you may want to rethink.
And that's before we discuss thd uselessness of crypto as currency where you have to go to your safe deposit box to spend any of it.
You can also put your password in your will, if you're afraid of not passing it to your family.