Willow Smith is set to lock herself in a box for 24 hours as part of an art installation at the Museum of Contemporary Art (MOCA).