I believe the answer is: because John Locke believed that the government should only govern with consent of the people,
Taxation without representation refers to a system where people are being taxed without being able to choose a representative in the election. Because of his view, John locke view taxation without representation as an equivalent to a tyrannical government.