Welcome to the forums. There used to be an HDMI adapter for this, but When I looked on Samsung's site, it didn't list any phones to be compatible with it.
I think samsung stopped supporting MHL from S6 and up. Rocketfish MHL-to-HDMI Adapter Black RF-G1401 - Best Buy
THis is an adapter i used to have for my Note 4 but as you see in the description it does not support the newer devices.
I believe they want us to use mirrakast or something.