When you enable the Airplane option on your phone, enable Spotify's offline option so that your music may continue playing even if you are off the internet.