You can manage apps for sleeping mode on your Samsung Galaxy phone by going to Settings > Battery and device care > Battery > Background usage limits and toggling off Put unused apps to sleep.