In windows 10 its very easy. Windows 10 has an inbuilt feature called mobile hotspot to share your wired connection to other devices via wifi here is the link where it is given how to use laptop as wifi hotspot in windows. Hope it solves your problem
everything4comp.blogspot.com/2017/11/how-to-use-la...