Lock/Latch for a side gate

I am looking into add a lock to my side gate that I can control via HA, but doesn’t seem like there is anything plug and play available. I was thinking of buying something like this and seeing if adding an ESP32 or something to it to control it. Has anyone used something like below or built something that works similar? Really I just need something that would be able to slide a latch left and right, but I don’t have a 3D printer to play with.

https://www.aliexpress.us/item/2255800326869990.html?spm=a2g0o.productlist.0.0.111f15933k8XDF&algo_pvid=2e421922-aed9-4dda-96f8-283fcd9a81eb&algo_exp_id=2e421922-aed9-4dda-96f8-283fcd9a81eb-51&pdp_ext_f={"sku_id"%3A"12000015827955449"}&pdp_npi=2%40dis!USD!27.0!23.22!!!!!%402101d4a716667369896745784ee688!12000015827955449!sea&curPageLogUid=dYnSlmvruPUI