Gmod lua help - How to lock a open door?

I’m tryng to lock a open door using lua, but only works with the door closed…

thx 4 reading :slight_smile:

Since you’re not showing any code, I would recommend using the ENT:Fire() function to lock and unlock it