Salt water, YES.
Fresh water, ???
Rinse with clean water and let it air dry for a while.
I'm not familiar with the mini 4 pro but check for a sd card if available that may contain owner information and content of it's last flight.
The card, if available, should survive the dive even if the...