Yes and he/she is free to perform their duties independently and free of interference (or influence) from management.
In fact a DPO cannot be dismissed during the course of his/her tenure other than in cases of gross misconduct and/or simply refusing to or being incapable of performing the duties.
In summary you can raise awareness of and create a shítstorm of hassle for your employer and not be kicked out on that basis.