The action slide lock has nothing to do with keeping the hammer cocked, I am thinking you have a bad sear surface on the hammer. The hammer should stay cocked even if the trigger is manually engaged without the safety/trigger spring installed.