adding osx lock script