Nearly 1 million child-proof locks recalled