Knee and leg pain

Patient: My knee is not swollen yet I have trouble bending it and there is pain in my leg muscles. The pain is worse when I am inactive. When i get up in the morning myleg muscles are sore and movement is tough until I loosen the leg muscles up. I have a tough time straightening my left leg completely and bending it is painful at times to do things like put socks and shoes on etc.