Added TTY lock