Thousands of lawyers hold protest rallies