add lock.sh