For example, if Player1 has unlocked something, the door physically opens for him, but if Player2 hasn't, he can't open the door.
You would change it normally, you need to have the Workspace Property FilteringEnabled turned to true for it to change locally. Setting filteringenabled to true does break a lot of things, you can find out what those are and more here