School tells teen to cut dreadlocks or miss graduation