She said she was going to change clothes, but she was actually going to the restroom.
Tips
register
更衣 is a formal or literary term for changing clothes. As a euphemism for using the toilet, it is quite dated but still understood. The compound 更衣室 (gēngyī shì) — changing room / locker room — is the most common modern use.