@Sourav10
I have used the Sensi WiFi thermostat (Emerson) and it doesn't have a sharing feature. Not sure about other WiFi Thermostats. You may have to consider adding a second control unit in the guest area and then set the temp limit range for guests.
You might consider pairing a WiFi thermostat with a smart home hub and you may be able to limit access for other users that way, but not sure how you would prevent access to other home features.
Internet search says there are some thermostats out there where you can invite others, but you would have to make sure it allows limited access.