script to lock site