Two Brownsville men are behind bars after an undercover sting revealed they were both working as unlicensed locksmiths.