I'm no doctor, but I did get trigger thumb 4 years ago. It got to where I would have to force my thumb into either the open or closed position before I could proceed. It was painful snapping it open or closed, but once done, it was fine. I could draw, work on the car, or hand jam just fine, but I always had to force the thumb into position first.
Eventually I got annoyed and saw a hand surgeon. He told me to think of a truck driving under a bridge that is too low. The truck pops through, but it scrapes on the bridge.
He said he could make the 'bridge higher' by simply snipping out some tissue. It was fixed instantly in a 10 minute surgery. He numbed my hand, I felt a few tugs.
He told me to flex my thumb while still in surgery and it was perfect. No rehab, no pt, nothing. I was climbing in two weeks. I also just got back from weeks at the Creek. My thumb was the least of my worries.
You seem young to need this, I was 64 at the time. Perhaps it's something else?