I'm not going to fill my friends name on an important school task
Is there any reason behind it?
He didn't work on it at all
If they don't want to work and put effort they should not get credit for it. You should tell the teacher too so they know they didn't do any work if they question your motives.
I'm just going to submit it and not care what they say.
I hope it turns out well. I'm glad someone who hasn't worked on the project won't be getting credit for it.