Generally, in youth, stiffness in legs is dominantly due to poor sitting, standing and walking habits that has continued for years. Some experience it due to lack of exercises. People who don't exercise properly may find difficulty in bending, as the leg muscles become inflexible due to poor usage.