I can give you some ideas.
Your engine uses a combination of sensors to monitor engine operation, the knock sensor is one of these. When this sensor detects an engine knock, the engines computer attempts to modify the fuel delivery volume and rate, ignition timing, temperature control among other things.
The easiest thing the driver can do is to have their car serviced at regular intervals and use a good quality gasoline and frequent use of fuel injector cleaner, gasoline that is poor quality and of a lower octane rating along with dirty spark plugs and dirty fuel injectors are a leading cause of knocking. A cooling system that is maintained will help prevent overheating, an overheated engine can and will often cause knocking. Hard acceleration under a load can cause knocking.
Maybe the knocking noise has nothing to do with the engine at all.
Knocking noises can be suspension, transmission, or a loose bracket or component inside the dashboard.
This is where you sherlock holmes clone comes into play.
Be a detective, make a diary. record and documentation.
Have the tech ride with you.
Have the tech stand outside the car as you drive by,,maybe they will hear the noise then.
Get a tape recorder,,record the sound.
The screeching window can be caused by a misaligned window or a faulty window regulator mechanism.
You will need to have the diagnostic codes run on the tps system to locate the problem.
Did the dealer tell you that upon completion of a repair they conduct a " system performance test " ?
This is to ensure that the system performs as required.
If this dealer cannot assist you to your satisfaction, go to a different dealer.
You also could go to different shops and then collect different opinions as to the problem.
If you talk to 10 shops and 7 say the same thing then you know your probally on the right track.