How to disable headphone jack in Android

I want to completely disable headphone jack in Android 10 without using 3rd party app.
I want to disable headphone jack and use it with type C to headphone connector.