Here is a draft SCP entry for the cabinet you described:
Item #: SCP-XXXX
Object Class: Euclid
Special Containment Procedures: SCP-XXXX is to be kept in a standard containment locker at Site-19. Access to SCP-XXXX is restricted to Level 3 personnel or higher. Any subjects transformed by SCP-XXXX are to be detained and monitored until the effects wear off.
Description: SCP-XXXX appears to be an ordinary wooden cabinet approximately 1.5m tall, 1m wide, and 0.5m deep. Opening the single door of SCP-XXXX and remaining inside for more than 5 seconds will cause any human subject to be transformed into a magically animated life-sized doll.
Subjects transformed by SCP-XXXX retain their original memories and mental faculties. However, they become compelled to enact whatever role their costume or outfit suggests. For example, a subject dressed as a maid will compulsively clean any buildings they have access to. Subjects dressed as nurses will attempt to provide medical aid to other transformed subjects or Foundation personnel.
Transformed subjects are comprised entirely of a lightweight synthetic material and possess exaggerated facial features and limbs proportioned for ease of movement. They are capable of speech and communicating their identity, but will continue enacting their assigned role even while conversing.
The effects of SCP-XXXX seem to be temporary, with transformed subjects returning to normal human form within 24-48 hours even if their costume is not changed. The compulsive behaviors exhibited by transformed subjects also fade upon reverting. No long-term physiological or psychological effects have been observed in subjects after the transformation ends.
The origin and purpose of SCP-XXXX are currently unknown. Further study is aimed at understanding how to control or end the transformative effects at will.