Generally, the phones that can protect the internal parts, even underwater, are called waterproof phones. But it can protect itself for a certain period. After a certain period, it can no longer protect itself.
Samsung has launched the Galaxy A73 5G phone with a waterproof configuration. It has water resistant feature that can protect itself from the water up to a depth of 1 meter in pure water for up to 30 minutes. However, there is possible damage if it is more than 30 minutes. The phone is quite attractive as it is water resistant.