Update locksmith.sh

Added new locking mechanism.