It's very simple, let A be an arbitrary person among the 10 people, and denote the other 9 people from $A_1$ to $A_9$.
Case I: A knows at least 4 of $A_i$'s. Then assume A knows $A_1,A_2,\cdots, A_5$.
if $A_i, A_j$ knows each other, then we have a triangle $A, A_i, A_j$. Otherwise, $A_1,\cdots, A_5$ constitutes a set of 5 people that don't know each other
Case II: A doesn't know at least 6 of $A_i$'s. Then consider 6 people $A_1, A_2, A_3,A_4,A_5,A_6$.
Then apply the following lemma shall yield the easy solution:
Lemma
There exist three people who mutually know/or don't know each other among 6 random people.
There's a stronger lemma I think you also might want to consider, that is to prove that there are two triangles of people who mutually know/don't know each other.