Lutherans can and do pray for the dead.
https://weedon.blogspot.com/2006/09/prayer-for-dead.html?m=1
And from the Book of Common Prayer (1928).
http://justus.anglican.org/resources/bcp/1928/Burial.htm
REMEMBER thy servant, O Lord, according to the favour which thou bearest unto thy people, and grant that, increasing in knowledge and love of thee, he may go from strength to strength, in the life of perfect service, in thy heavenly kingdom; through Jesus Christ our Lord, who liveth and reigneth with thee and the Holy Ghost, ever, one God, world without end. Amen.
O GOD, whose mercies cannot be numbered; Accept our prayers on behalf of the soul of thy servant departed, and grant him an entrance into the land of light and joy, in the fellowship of thy saints; through Jesus Christ our Lord. Amen.
https://weedon.blogspot.com/2006/09/prayer-for-dead.html?m=1
And from the Book of Common Prayer (1928).
http://justus.anglican.org/resources/bcp/1928/Burial.htm
REMEMBER thy servant, O Lord, according to the favour which thou bearest unto thy people, and grant that, increasing in knowledge and love of thee, he may go from strength to strength, in the life of perfect service, in thy heavenly kingdom; through Jesus Christ our Lord, who liveth and reigneth with thee and the Holy Ghost, ever, one God, world without end. Amen.
O GOD, whose mercies cannot be numbered; Accept our prayers on behalf of the soul of thy servant departed, and grant him an entrance into the land of light and joy, in the fellowship of thy saints; through Jesus Christ our Lord. Amen.