Some apps might be closed when your phone is locked, like YouTube and Netflix. Other apps might be closed because they're being used in the background, like Facebook or Twitter. Your phone might be trying to use an app that's not available because it's been disabled by the manufacturer or because it's outdated.