bash script to lock the console