South to play 6NT on the lead of the 6 of hearts
You take the queen in hand and, since you're going to need the spade finesse sooner or later, you run the ♠Q now. This loses to RHO, who plays another heart. Obviously LHO has the ♥K, but you can't read much into that lead since LHO is not a strong player.
The simple way out is to take the diamond finesse, but there may be other chances. How would you continue? Hint: ♠10 now collects two non-descript small spades.