I've got something called 'trigger finger' where the first coupla knuckles lock in place (usually 'closed') and are painful to crack open again.
So far my doc has said 'just live with it' but I'm still rooting around for ways to lessen it. Mostly still just occasional, but several occurences per day anyway.
This is not medical advice.
Generally, if the triggering is occurring inconsistently but several times per day, some patients will opt to see a Hand surgeon for an injection into the A1 pulley with some local anesthetic and corticosteroids to decrease the inflammation and minimize the frequency of triggering.
For those where the triggering is more severe, an outpatient surgery to release the A1 pulley is an option that is worth discussing with a hand surgeon.
In any case, speaking with a hand surgeon to learn about the reasonably foreseeable risks and benefits and alternatives is a great idea.