Added a lock on the CA store