This Gist is a guide on how to set up a Raspberry Pi as a wireless access point. This could be done on Raspberry Pi 4, 3 or Zero W as they include a wireless module. For other Raspberry Pi models it could be also done by using a compatible wireless dongle.
Before starting, you should check yours LAN network configuration. This guide assumes that your LAN network is 192.168.0.0/24 and the Pi will manage 192.168.10.0/24.
I'm using Raspberry Pi OS with the latest updates installed.