FirdawsWay

The recitation stops when I lock the screen

Phones

The phone is suspending the app. Exempt it from battery saving.

Android

In the appTurn off battery optimisation

Android

Also check your manufacturer's own restriction — see “Battery savers that stop the adhan”.

iPhone

On iPhone: Settings › General › Background App Refresh on for FirdawsWay, and Low Power Mode off.