NatWest Group Interview Question

difference between lock and synchronisation