Drones are not moving while in lockscreen


Hello, I noticed that my drone is not moving when I put my phone in lockscreen. Is this a bug or is it wanted. I hope it’s a bug, as some distances are to big to keep the phone not in lockscreen for energy reasons.
Maybe there is also an android option which cause this behavior. Any help is appresiated