android SimpleAudioEngine problem

i am using the cocos2d-x 2.0.
I have use the SimpleAudioEngine to play the background music and effect.
Then, i install the project in the android tablet.
I lock the android tablet when i playing the background music.
But it not stop the background music.
how can i check the lock button is pressed?

You can run CocosDenshionTest.