请把作业做完了 is grammatically incorrect.
If 了 is added to the end of the sentence, it implies that the homework is finished, for example, 我把作业做完了。
However, in this case, an instruction is given to do the INCOMPLETE homework, therefore 了 cannot be used at the end. ~ I'm a Native Chinese.