Chosen Solution

Why does it keep asking me for password when I try connecting to WiFi direct I have no clue what the password WiFi direct

Enter your computer routers password.

If you are using a new enough Samsung phone to connect to the Samsung TV, in the Wi-Fi Direct setup on the phone side, it should list the TV as the Wi-Fi direct supported device. Tap and hold the TV, and a secondary menu should pop up. There should be a new mention option ‘Connect with PIN’. And the TV should tell you what PIN it wants. At least this is how mine works.