The only time an adjective stays bare is a het-word with een (or no article) in the singular: een leeg huis.
Yes, it becomes lege: de lege man, een lege man, het lege huis, lege huizen. The only exception is een leeg huis (a het-word with 'een' in the singular).
Een leeg huis. Huis is a het-word, so with 'een' the adjective stays bare. But with a de-word it takes -e: een lege man.
Adjective endings hinge on de/het. The platform drills them in real A2 exam tasks, AI-graded across all five DUO sections.