<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def cmd_lockup_autopilot(self, args):
        '''lockup autopilot for watchdog testing'''
        if len(args) > 0 and args[0] == 'IREALLYMEANIT':
            print("Sending lockup command")
            self.master.mav.command_long_send(self.settings.target_system, self.settings.target_component,
                                              mavutil.mavlink.MAV_CMD_PREFLIGHT_REBOOT_SHUTDOWN, 0,
                                              42, 24, 71, 93, 0, 0, 0)
        else:
            print("Invalid lockup command")