Everyone sees the lamp go to the chosen player as the dive starts. Without a choice, the lamp stays where it would be anyway.
To choose, the Quartermaster presses Use on their row under Items & abilities, then holds the chosen player’s board header, their own included. Until the dive starts, the Quartermaster can change the choice at any moment, or clear it by holding that board header again. The game never waits for it.
The Quartermaster cannot choose the same player for two dive starts in a row, nor a player serving a Mutiny penalty. If the chosen player gets a Mutiny penalty, the choice is cleared.
No choice is possible before the first dive. Instead, the Quartermaster has twice the usual chance to start the first dive with the lamp.