Create lock.bash