And before anyone says it's a pointless feature that nobody will ever use, this feature saved my bacon when my new laptop suddenly died and I had some urgent work to do. I just plugged in my OnePlus to the same USB-C dock cable my now dead laptop used, and hey presto, I got a 4k display output with multi tasking and tiling window support, charging, keyboard and mouse support and a desktop-like experience to do my work. And it was full 4K@60Hz, not some gimped low-res output for showing a photo slideshow.
It's not exactly a proper Linux/Windows desktop UI despite the keyboard and mouse support, but more of an desktop iPadOS style UI with large touch targets, but in case of emergency it's better than nothing if you don't have a backup laptop. I heard Samsung's DEX is even better.
I actually had no idea my 2019 OnePlus even had this feature but I discovered it by accident in a meeting at work when I was low on juice and I plugged in my phone to the USB-C dock cable on the meeting room table and immediately the screen of my phone got projected to the TV and it just blew my mind (and everyone else's in the meeting).
They should really market this feature better. To me it's a pretty big selling point VS iPhones. Being able to turn your phone into a desktop PC with the same cheapo USB-C dock your laptop uses can come in very handy, yet almost nobody knows about it despite many Android users already having it on their phones.