On Windows 10, setting a static IP address to your device is an essential configuration that may be required in many scenarios. For example, if you plan to share files or a printer on a local network or when trying to configure port forwarding. 

If you do not assign a static IP address, services or a port forwarding configuration will eventually stop working. This is because, by default, connected devices use dynamic IP addresses assigned by the Dynamic Host Configuration Protocol (DHCP) server (usually the router), which can change as soon as you restart your machine, or after the dynamically assigned configuration expires. 

There are many articles explaining the steps. This article offers two methods. I suggest scrolling to use the method  How to assign static IP address using Command Prompt

Write down the current Properties for your Host computer so that you can enter them as non- changing. If you change your IP address from what it currently is, you will have to reconnect all your clients to the new address.

How to set a static IP address on Windows 10