微妙にエスパー能力が必要な質問だが、こういうことけ?

local function getTableByName(name)
 local tables = {
  tbl01 = {'a', 'b', 'c'},
  tbl02 = {'d', 'e', 'f'},
 }
 return tables[name]
end

local str = 'tbl01'
local t = getTableByName(str)

print(t[1])