Phase-lock Basics