My question involves business law in the state of: New York

As of today my employer decided that all employees were to leave their personal cell phones in her office during work hours as opposed to in our lockers which are located in our break room. Is this legal? Thanks in advance.

~Brian