Added locks to BetterSorry