keyup and automatic lock.