Init the lock