You kind of rambled over past and never actually stated that you were able to get the links to lock when not on the chain. Assuming that you didn't have any problems with that, master links can vary between manufacturers. Who manufactured your chain, and who manufactured you master links? How many speeds is your bike? Are you sure you got the appropriate speed master links?