1. Go to the Files tab in the Teams channel.
  2. Locate the folder or file you want to pin.
  3. Click the ellipsis (...) next to the item.
  4. Select Pin to top.

You can pin up to three items this way. To unpin or reorder them, click the pinned item and choose Edit PinUnpinMove Left, or Move Right