You need to use the Login Agent object, and then, using the output from the Is Logged In action of the Login Agent, use a decision stage to determine if your machine is already logged in.
If the value is False, then return an exception.
If the value is True, then use the Unlock Screen action of...