Fixed the lock command. Changed the terminal app to urxvt.