Bummer
A lot of times the impact force on the bars from a tip over can knock the forks out of alignment.
I would first confirm if the bars are bent. First verify the bars are centered in the top clamp. Take a measurement from the left bar end to the edge of the right bar clamp, then do the opposite, they should match. Alternatively you can measure from the ends to the bottom side of the lower triple tree.
For the forks you will need a way to lift the front of your bike off the ground.
Loosen the lower fork pinch bolts, the axle, triple tree center pinch bolt and nut, upper and lower triple pinch bolts.
You don't need to back everything off, you just want things loose enough to allow adjustment.
Measure the stick out of each of your fork tube above the top triple tree, they should match.
Tighten the pinch bolts on the upper and lower triple trees.
Then tighten the center nut and it's pinch bolt.
Once the forks and triple trees are aligned torque down your axle nut.
Before you tighten the axle pinch bolts lower the bike so the front wheel is under load.
Cycle the front forks a few times so everything settles, then torque the pinch bolts.
Bike should ride straight, if it does not something is bent.
Also since you mentioned the steering lock was engaged when the bike fell over I would inspect the locking pin for damage. Damage to the pin will require replacement of the ignition assembly.
Lower triple tree steering stops are another thing that can be damaged, if these bend it will allow the bars to turn further than designed.