This video discusses the working principle of a phase locked loop @ElectEngineering. http://www.youtube.com/@UCPMFCKxflyy4gh9W__MMXlQ
Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.