Your steering wheel locking up and car turning off at the same time is quite a unique and specific situation. Fortunately, there is a reason for it.
In most cases, this issue has to do with your engine stalling due to:
A faulty crankshaft position sensor
Worn-out spark plugs
Damaged ignition coils
Faulty mass air flow sensor