You're being asked to respray your car, thus meaning you're in LSC for the first time. You exit by pressinghave to respray your car in order to pass the tutorial. In the future Esc should work.
If
If the game doesn't react to that, your game has glitched (it happens randomly sometimes) and you have to restart the game by pressing alt+f4 and confirming with Enter