Certified GKH Gardening Expert
You can do a process called topping, which will encourage a tree to grow out rather than up. It is not normally recommended because it shortens the life of the tree. This article has more information on the pros and cons: https://www.extension.iastate.edu/publications/sul7.pdf
Sugar maples want to grow rather large. You may not be able to contain its growth to under 10 feet, even if you top it. You may want to look for another variety of tree to go there, such as a small ornamental.