This my 2nd year as a widow. I read I can file for 2 years as married? Do I change anything on my W-4? I’m just confused by it all.

Or can I file as whatever I want on the w-4 but then need to file as single or married when I file?