<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def run(self, args):
 """Unlocks the target device. Args: self (UnlockCommand):
 the ``UnlockCommand`` instance args (Namespace):
 the arguments passed on the command-line Returns: ``None`` """

        jlink = self.create_jlink(args)
        mcu = args.name[0].lower()
        if pylink.unlock(jlink, mcu):
            print('Successfully unlocked device!')
        else:
            print('Failed to unlock device!')