Trimming your tree will not prevent root growth. You can use trimming to make it easier to remove the tree roots when they are growing near your foundation or in other places, but root growth needs to be controlled by killing the roots rather than trimming them.