new lock for EC_PRE_COMP structures