Match the subject: does with he, she, it or one singular noun; do with I, you, we, they or plurals. So The team does not know, but The players do not know.
One real overlap: Everyone do not touch the exhibits works as a request, while Everyone does not touch the exhibits reports behaviour. Address people directly and do wins, even for everyone.
... fallback never reached
Same sentence, two subjects
She does not like the noise. One person, he/she/it, so does. The speaker is reporting her feeling, not giving anyone an order.
They do not like the noise. Several people, so do. Same sentence shape; only the subject's number changes the verb.
The manager does not approve yet. A singular noun behaves like she. If two managers sign off, it becomes The managers do not approve yet, and the reader hears a group holding back, not one person.
Does anyone know the wifi code? Anyone looks singular, and in a question it takes does. The speaker is asking a room of people, but the grammar stays with the singular form.
Do you two want a lift? Here the subject is you, so do even when it clearly means two people. Reading note: the choice follows the word you, not the count of people behind it.
Requests are the exception
There is one place where does is wrong even with a third-person-sounding subject: requests and commands. When you address people directly, the form is always do, no matter who hears it.
Everyone, please do not touch the exhibits. The speaker is asking a group directly, so do. Everyone does not touch the exhibits would not be a request at all; it would be a odd statement about everyone's behaviour.
The test is what you are doing with the sentence. If you are asking or telling people to act, write do, even for anyone or everyone. If you are reporting what a person does, does returns.