I recently found out you can lock specific apps from closing when you select "close all" in the recent apps view.
All you have to do is tap the 3 dots in the top right when viewing recent apps>lock apps>tap lock icon in app>done.
Very handy for me, I like keeping my calculator app open while...