Move lock into data directory