Reference signal choice for Lock-in Amplifier
Mike Meade's classic book Lock-in Amplifiers:principles and applications is freely available from https://www.sites.google.com/site/lockinamplifiers/ or  from https://archive.org/details/Lock-inAmplifiersPrinciplesAndApplications

You need to read this first.