For my use case, randomness would make it even worse. For muscle memory, consistency is key. I don't know what the solution is - ideally, the app would not interrupt such quick actions like unlocking to take a photo or switch the song, but in practice, it can't exactly guess what I'm going to do before I do it. I was thinking about maybe "unlock and don't show the popup for the next 5 minutes", but then I already know that one of these days, I'll activate it for "one quick check of Instagram" (or HN), defeating the purpose of the application.
Sorry I can't be more helpful. I've been mulling this problem (selective blocking in dual-purpose apps/sites) in my mind for a long time now, but I haven't found any solution so far.
Here's maybe a solution: don't trigger the app if the phone is unlocked via a hardware shortcut.
At least in my last 2 phones, I got them configured such that a double press on the power button wakes the camera app immediately (great for quick photos), while the rest of the system is still locked (need the unlock pin when trying to navigate away from the camera app)
So in that situation the app could choose not to interrupt.
+1 I rely on this hardware shortcut heavily when trying to catch photos of the kids in fleeting moments.
Edit: just tested this and the nudge does not appear to interrupt the camera quick access
On my phone (Pixel 5) I don't need to unlock to take a picture (double click on power button) or switch to the next song (slide menu down, click Next).
Not sure if it helps. Have not tried the app yet.
Edit: sorry, didn't see the almost identical answer
As mentioned elsewhere, I have double-click on power button bound to toggle the flashlight, as I find it way more useful day to day, plus quick launch of camera becomes redundant after you launch the app.
As for songs, I specifically mentioned picking a next song. As in, picking from a list, possibly navigating or doing a search first. Next/prev is both trivial and something I rarely use anyway.
You also can try setting nudge Cooldown. It will prevent nudge from popping up during Cooldown period. For now it's 3 minutes max, but I can easily add more options in next release.