A formula I have read in a world building book is 0.0161 x ((number of years to test for tidal locking) x (star mass in Solar Masses)^2 / (density in g / cm^3))^1/6 will give you the distance in AU from the star mass where a world will be tidally locked given the number of years entered. Generally use 5,000,000,000 years, but you could adjust this up or down depending on the lifetime of the star which can be derived from its mass.
For example, using 4.1 billion years as our age, a stellar mass of 1.46 Sol, and a planet density of 0.94 Earths (x 5.515 g / cm^3) yields a tidal locking limit of 0.56 AU for that star - i.e. Orbits 0 and 1 are tidally locked and Orbits 2 and further are not. I've repeated this calculation ad nauseum seeing if I can find a sweet spot where the planet is not too cold but is not tidally locked, and it comes out as "somewhere between orbit 1 and 2" in nearly all cases.
The formula was derived from
this Wikipedia entry (not by me).