Hands locking up can be a symptom of various medical conditions, or occur as a side effect of anxiety. Common causes of hands locking up include rheumatoid arthritis, osteoarthritis, carpal tunnel syndrome, Dupuytren's contracture, and trigger finger. These conditions can also cause pain, swelling, and difficulty with daily tasks.
Source: Verywell Health