There is no feature on the LG smartphone to turn off Wi-Fi Direct in general; to turn off Wi-Fi Direct, simply disconnect all connections.

Android 9 | LG UX 9.0
Turn off Wi-Fi Direct -  Open the  Settings
Turn off Wi-Fi Direct -  Tap on  Wi-Fi
Turn off Wi-Fi Direct -  Open the  Menu
Turn off Wi-Fi Direct -  Tap on  Advanced Wi-Fi
Turn off Wi-Fi Direct -  Tap on  Wi-Fi Direct
Turn off Wi-Fi Direct -  Tap on  Connection
Turn off Wi-Fi Direct -  Confirm with  OK
  1. Open the Settings
  2. Tap on Wi-Fi
  3. Open the Menu
  4. Tap on Advanced Wi-Fi
  5. Tap on Wi-Fi Direct
  6. Tap on Connection
  7. Confirm with OK

LG Instructions
Loading...

Transmitting...