Ensure the lock folder is created when Lock is called