Click the Loop button in the regions created from the loops are transposed to the new key.
Download the guides:
Logic Pro User Guide: PDF
Logic Pro Effects: PDF