Flexibility in the workplace is key to unlocking the potential of a diverse workforce.