Submerging phones in a bucket/bowl of water is standard procedure for such occurences.
Not recommended in confined space (e.g. aircraft) due Lithium will oxidise in water releasing flammable H2 gas.
Lithium battery fires: Why not water?
This is probably what 4 Greens mentioned.
https://cellblockfcs.com/libik-dry-f...MaAjhxEALw_wcB