Dossier
Diving in Leonida starts with Kenton Rees. He runs a dive business out of Key Lento, and early in the story he takes Jason out on the mission Island Dreams. That is where the scuba gear comes from. Afterward his boat is yours whenever you want it.
The gear lives on the boat, not on you. Scuba equips once you are in the water or out on open water in a boat. Stay on land too long and it comes off again, metal detector included. Hold R1 to dive and L3 to swim faster.
What you are after sits on the wrecks. Old ships lie on the sea floor around Key Lento, and each one hides several finds. Pull the metal detector from the weapon wheel and sweep: it flashes green toward the treasure and pings faster as you close in. When the Search prompt shows, press Triangle. Kenton buys the gold doubloons and relics you bring up, and any wreck can be revisited for what you missed.
Sharks work the same water. The speargun is the answer: get close, because the shot drops at range, and aim for the head.
Source: GTA VI, in-game.