If you die and still keep the wallet key containing Bitcoin secret from your closest family without inheriting it, you can be sure that your family will never be able to access your Bitcoin wallet forever.
If Bitcoin is never transferred from one wallet to another, it will continue to settle in the original wallet. Therefore, it is recommended to back up your Bitcoin wallet info and tell the family you trust in case you die, so that your Bitcoin wallet can be used by your family.