A combination of notching the bolt and tapering the ramrod should cure it. If the bolt doesn't interfere too much, chuck it into a drill, and use a round file to cut a relief completely around the bolt, rather than just flattening one area. Makes it easier to put the lock back on after cleaning. A lock bolt shouldn't have much torque on it, and you can take them pretty thin with no problem.