Do you mean the function that temporary turns the display when a notification arrives and when the display is turned on it looks different compared to a regular lock screen?
Bingo 🙂
Ok. I personally have it solved quite differently for years. I use a small and unobtrusive Bluetooth headset, especially at meetings or outside the office. Tasker reads to me every notification, but not its contents, only the name of the application and who the message is from. My phone is hidden in my pocket, so I even don't bother anyone with a phone laying on the desk.