Create lock.d