You can turn off shuffle on Spotify by clicking or tapping the icon that looks like two overlapping arrows.
Spotify has a sleep timer feature in the mobile app that will automatically turn off your music after a set amount of time.