Yes. The three troublemakers from The Nightmare Before Christmas appear in Kingdom Hearts II as part of the Halloween Town storyline.
They serve as the local guides for that world, which is a role they fill in the first game too. Halloween Town is one of the recurring Disney worlds across the series, and Lock, Shock and Barrel come with it.