fixed keylock (works with shift key)