Does any one know know: What is the metaphysics of John Lock

Well I am have a philosophy project and I am comparing Kant and Locke. I think Locke has more of political philosophy but does the idea of freedom have anything to do with the “self”.