Casts this Command as a Unlock and retrieves its aws.sdk.kotlin.services.snowdevicemanagement.model.Unlock value. Throws an exception if the Command is not a Unlock.