I would think it would depend on what is causing the bolt not to lock up. Is the cylinder not turning all the way, can you turn the cylinder into the locked position after the hammer is cocked? If it is an indexing problem in could be the indexing pawl.
Does the cylinder bolt latch into the cylinder well? Could it be the bolt is a little two wide to fit those two notches but fits ok in the others? Do those two notches show any kind of damage or rounding of the corners in the notch? Pictures may help but you may just need to have a gunsmith take a look.