Check whether the screen is locked and only continue with script execution once the screen has been unlocked.
_________________________
There are two types of vessels, submarines and targets.