The Samsung S22 ultra is IP68 certified which means it is both dust and water resistant up to 1.5m deep and for 30 minutes. Just because it is water-resistant doesn't mean you should drop it inside water and leave it there for hours. It shouldn't be more than 30 minutes and the water should not be more than 1.5m deep.