1. Log in to your Twitter account.
  2. Click on your user photo from the top right corner of the screen.
  3. Go to Settings from the drop down menu.
  4. Click on Security and Privacy from the left menu.
  5. Go to Tweet privacy and check “Protect my Tweets” option.

Twitter settings - Protect Tweets