Some devices (you don't say what you have) have a manufacturer-designed mode for this. In general - Android Auto might do what you want.
If you need additional help or have more questions or details to share, please join the site so you can reply in this thread. See
this link for instructions on how to join Android Central.