Right! If the bitcoin owner dies, their bitcoin will go away forever. By buying bitcoins they will keep a password to secure their assets. Only owners know where their money is stored and where. How can we know their password?
More accurately, bitcoin is not lost forever, it just hibernates in the wallet of the dead forever, no one can use it as well as move that bitcoin unless they own a password or private key to access the wallet. In the past, situations where bitcoin owners died and bitcoin in their wallets froze, that is a story that often happens because they do not pay attention to the value and development of bitcoin, they just think bitcoin is a useless virtual asset but currently, this situation is very rare when people already know the value that bitcoin can achieve, they always store passwords and private keys for relatives, that is the plan for the worst case scenario