That the menu of all players updates when there is a change of priority (in this case with a click on a lock), even when someone else has opened the menu.
Everyone has the same menu in front of them and it updates for everyone
The menu works as follows: there are switches that have an on and off function. When this switch is clicked it will change to a different priority (on or off) and this change should be visible to everyone. In other words, the switch applies to everyone and can be switched on or off. The on and off function must be remembered for the other people so that the on and off function is the same for everyone.