In order to access the Raspberry Pi as easily as possible, it is one of the good methods to use the computer to emit hotspots to let the Raspberry Pi connect to itself.
Win10 open hotspot
Set up Raspberry Pi WIFI auto-connect
Several ways to configure wifi on Raspberry Pi
Problem solving: If the Raspberry Pi is connected to the hotspot but the win10 hotspot does not show up, or the Raspberry Pi cannot access the Internet
Be sure to share the WIFI to the local connection.