Unexpected stiff elbows

Its weird. I am off painkillers but when I go to bed my elbows stiffen up and become painful to move in fact its so hard to move them they nearly become locked. Its a new symptom while every other joint is perfectly happy and strength has come back. Knees ok. Ankles ok. Shoulders a bit stiff. Hands a bit stiff. What is it with these elbows?