.zshrc: improve lock alias to work on Mac as well