For a vertex in a graph , we denote by the set , where denotes the distance between and . A vertex is -locally connected if the subgraph induced by is connected. A graph is called -locally connected if every vertex of is -connected. A well-known result by Oberly and Sumner is that every connected locally connected claw-free graph on at least three vertices is Hamiltonian. This result was improved by Ryjacek using the concept of second-type neighborhood. In this paper, using the concept of -locally connectedness, we show that every connected -locally connected claw-free graph without vertices of degree , which does not contain an induced subgraph isomorphic to one of , or , is Hamiltonian, hereby generalizing the result of Oberly and Sumner (J. Graph Theory, )and the result of ( J. Graph Theory, 321-381)