The Tuya API (I assume this one) only works for Tuya devices that use the Tuya cloud services, which Bluetooth devices won’t be using (at least not directly, possibly through a separate gateway). So you’re going to have to find out if your device can actually be controlled using Tuya API at all. I have my doubts.
You probably have to implement an app that “talks” over Bluetooth with the device directly.
That sounds like the lock has both WiFi and Bluetooth support on board. If that’s the case (and it doesn’t work with a direct BLE connection between your phone and the lock), you might be able to use the Tuya API anyway.
I would suggest starting with a simple Node.js script to run on your local computer to see if you can control the lock, and only then move to a full Homey app.
I have no experience with the Tuya API so can’t help there.