Hi johndoe117,
Because the USB-6221 does not have dedicated ADCs for each channel, it is not recommended that we try and implement a Lock-In Amplifier. I would recommend using one of the DSA cards instead.
Regards,
Jason D
Applications Engineer
National Instruments