Add number lock support