A group of people were allegedly locked in cupboards for several days while their passports and earnings were controlled in Australia.