The steering wheel of a car does lock in position as part of the design to make the vehicle safe. The steering wheel won't get lock unless the ignition switch is turned off. When the key is taken out of the ignition switch, the steering wheel will lock to prevent vehicle movement. It will unlock once the key in the ignition switch is turned.
Sometimes, though, the steering wheel may get locked even though the key is in the ignition and has been turned. The steering wheel isn't designed to let this happen but there are already numerous cases in which the wheel gets locked and won’t turn in even though the key is in the ignition.
Outlined below are a number of methods you can apply if ever the steering wheel of your cars gets locked.