How can I play music although laptop is too?
Do you look manual.
Do you look at the ground when I walk past you?
You have to adjust in the energy settings what happens when you close it. If you do not set anything, only the screen goes off and the music keeps playing.
You will do it
By playing the music on the laptop with an appropriate program and then closing it. Of course you have to set in the power settings that the laptop should not turn off when closing.
For example, the settings in Win7 look like this: