In the early morning when the room temperature is cold, and the feet and legs are cold, the leg muscles will tense up suddenly causing severe pain, making one scream in agony. This is a leg cramp due to the cold. An electric blanket, wearing thermo underwear (long Johns), keeping the bedroom temperature warm, using an air dehumidifier, are some of the remedies to prevent morning leg cramps due to the cold.
Leg muscles that tense up gradually will become painful when one walks. Usually the outer thigh muscles and the back muscles of the lower leg will be very tight. This tightness will hinder walking, and walking becomes painful.
In this case, use a lot of vapor rub or pain relief gel on the legs to relax the leg muscles.