Could someone possibly tell me that if you have a 'bent steering lock pin' on a piaggio MP3 500, if you were to change the 'ignition barrel' would this resolve the problem?

So by replacing the ignition barrel, does that too replace the steering lock pin?

I was told I had bent steering lock pin & advised changing the ignition barrel would fix this?

I didn't think the 2 are the same issue or connected??

Thank You