Restricted user

If I add a restricted user with access to 1 entry door lock only . . . and only during a specific timeframe . . . and I have a rule tied to that lock that disarms the alarm when it is unlocked with a code . . . will the alarm disarm when he enters with his code?

Yes, as long as the restricted (Scheduled or Temporary) code is a lock access code and the door is unlocked locally by entering that user code on the lock, the “disarm when unlocked” automation can trigger during the code’s allowed time window.