Locks or unlocks all guides.
To lock or unlock all guides, simply click on the "Lock/Unlock Guides" button located in the toolbar. This will toggle the state of all guides, allowing you to easily hide or show them as needed.
Toggle Snap to Guides