What do you mean by the bolt doesn't lock -- have you closed the bolt on an empty chamber and then pushed on the bolt face with a long dowel, or cleaning rod, through the barrel? With the barrel removed, you can't test for proper locking because the barrel tang, where the bolt latches, is missing.