

If you have some electronic skill you can use espHome on a esp32 microcontroller to control an RC Servo motor.
https://esphome.io/components/servo.html
If you want out-of-box there are several electronic locks that will work.
https://community.home-assistant.io/t/smart-locks-compatible-with-home-assistant/590662
Depends on the lock being actuated and the torque of the servo, I have some that can do 4.4 N-m.
https://www.amazon.com/high-torque-servo/s?k=high+torque+servo
A stepper motor would also work for sure.