Playing music can be a relaxing escape. But, not in the traditional way people might think when they first sign up for lessons.
Practicing the piano is not the same as watching a movie on Netflix. Not that sort of escape where you get to spend some time in an alternate reality.
Practicing the piano is an escape when we attain a flow state in our practice. When we find ourselves "in the zone."
When you practice, you're untangling problems, finding solutions, repeating things many times. It's not "fun" in any normal sense of the word.
But, when you reach a point where you're so immersed in the work, the passage of time becomes meaningless.
An hour could go by, and you wouldn't realize until you finally look up at the clock.
When you're in the zone, your other problems don't matter. For that beautiful practice session, there are no worries. No stresses. No difficult relationships or situations to be concerned about.
Because there is only you, and the music you're working on.
That's the great escape that comes with practicing a musical instrument.