A. Use the iPhone's built-in sleep timer feature in the Clock app to set a timer for music playback, which can act as a sleep mode. B. Look for third-party apps that offer sleep mode features for music playback.