handle NULL lock in early Log init.