This sounds like an asinine law....
It is just that, asinine. If they were serious about what they are calling 'natural hair' then it would apply to all people of all races. This is a subterfuge law. That is, it is a law which claims to ban one thing but is really about something completely different.
This law has two goals. The first goal is to outlaw any kind of standard workplace dress code as they would apply specifically and only to Black people. The second goal is to give specifically and only Black people a new and amorphous claim to sue their employers. Employers will now be forced to prove that they did not fire them for their hair style. Specifically and only Black people can now grow their hair out to some weird absurd extent and style, regardless of if it is a defined danger in their work environment or if the person is publically representing the company. They win either way.
If they grow out hair to the point that they can no longer wear a hardhat or other protective gear and they get injured, that is an instant lawsuit. However, if they are fired or transferred because they cannot meet the requirements of the job (i.e., wear protective gear or to present a dignified public appearance) they can say they were fired for their 'natural hair'.
In the Navy, beards and long hair were banned because we could not fit a helmet, gas mask, scuba, rebreathers, and other gear. If you can't wear the gear, you can't do the job. If you can't do the job, you can't be in the deployed Navy in the field. No discrimination. Just simple fact. However, I doubt that some crazy wacko Liberal California judge or jury will give a single damn about rational facts.
The law has the added benefit that it further divides and separates Black people as being unique and not subject to the rules and laws that every other race has to abide by. The more Liberals can separate and divide Blacks and Hispanics as being 'special' and apart from all other races, the more they further their goal of total and complete racial segregation.
Who knew "the South will rise again" was a real thing? And that it would be the hippy Liberals who do it?