Is it legal for enterprise security to require employees to open private cabinets?

If there are security risks, the enterprise has the right to check.

If there is no potential safety hazard, asking to open a private cabinet is suspected of infringing on personal privacy.

Tort liability law

Article 2 Whoever infringes upon civil rights and interests shall bear tort liability in accordance with this Law.

The civil rights and interests mentioned in this Law include personal rights and property rights such as the right to life, health, name, reputation, honor, portrait, privacy, marital autonomy, guardianship, ownership, usufructuary right, security right, copyright, patent right, trademark exclusive right, discovery right, stock right and inheritance right.