A traffic stop is different than being questioned while being investigated or arrested for a 'crime'. Just say you want to have a lawyer present before you answer any questions. If they keep asking you questions, stand firm and restate that you want to speak to a lawyer.
Obeying the law means rolling down your window, being polite, hands in sight, giving them your papers, getting out of the car if they ask, hands behind your back, etc. If it is not related to a traffic stop it still means being polite, giving your ID, not resisting, etc.
For those that watch the You Tube, X, Tik Tok police videos it is the ass holes that are getting beaten.