Shaftesbury , as a member of the Whig movement , was a big influence on Locke 's political ideas . Shaftesbury , as a founder of the Whig movement , exerted great influence on Locke 's political ideas .