Changing to PTP MTP from charging mode?
First go this path:
    About Device --> Software Info --> Click to Build Number up to enable Developet option in mobile.

Then go to Setting and open this path:
    Developer Option --> USB Configuration --> Change mode from Charging to MTP.