Hands locking up could be related to rheumatoid arthritis, anxiety, or trigger finger, especially with stiff thumb and finger pain. Find more causes here.
Trigger Finger Common Causes, Symptoms and Treatments
Hypermobility (joints) - Wikipedia
Symptoms, Causes, and Treatment for Shaking Hands
Trigger Finger vs. Dupuytren's Contracture
8 things to do with your hands when you feel anxious - Rest Less
Tremor, Essential Tremor
Why Fingers Lock Up: 6 Causes (With Trigger Finger)
Body-Focused Obsessions: All About Sensorimotor OCD
What causes trigger finger?
Trigger finger causes and treatment - Mayo Clinic Health System