Yes, if you enter a transaction that requires Schedule D, TurboTax will create Schedule D and include it in your tax return.
HOWEVER, the tag below your question says you are using TurboTax Deluxe Online. Schedule D is not included in Deluxe Online. You would have to upgrade to Premium, or use any version of the desktop TurboTax software.