I think adding a link to the source for this script would be good as well as an explanation of what the script is doing. e.g. "Wait for emulator to show lock screen".