Added scripts to lock and unlock encryption