There's an even better solution ! Use the delta time :) Frame rate locking is a bit frustrating for people who have a non 60Hz screen :p
Hey!! How are you!! I have written a blog on my journey in making games and UnHybrid too. Thanks for all the support you have rendered !! I have mentioned you please do check it
https://medium.com/@kmehant/my-battle-in-building-unhybrid-8da7f949b949