Lock Screen Notifications - The all new HTC One® (M8)
The lock screen notification setting defaults to "Show all notification content".
From a Home screen, navigate: Apps > Settings > Sound & notification.
If Settings is unavailable, tap the Dropdown menu (located in the upper left) then tap Alphabetical. If still unavailable, refer to Manage App Icons.