1 thread problems

Well this is begining to annoy me, dominik was kind enough to help code a screen lock program for “MultiAlarm” but unfortuantly when i execute the program it stops the code from exectuing

on activateLock(do)
	do shell script "~/Projects/screenlock/build/Release/screenlock.app/Contents/MacOS/screenlock -pic" & picPath & " -pass " & thePass & "-key " & SecureKey & "-voice " & "Help im being stolen" & "-sound " & "default.mp3"
end activateLock

now after the screen is locked im trying to make it play a sound but stops executing the script when the do shell script is ran

The AppleScript is probably waiting for a result from the shell script.