Way to pause once current track finishes?

Often when I want to pause music, it’s because I need to do something for a bit that would interfere (watch a short video online, perhaps, or make a call). In such cases, the exact timing of the pause isn’t critical, and I would prefer to finish listening to the current song uninterrupted before pausing and doing my thing. Is there a way I can set up a hotkey or button to queue up such a pause so I don’t have to notice the song ending and remember to pause at the right time?