Hello there,
Disabled computer accounts in AD will not prevent local logons if the machine is not connected to the domain.
Also if the computer is deleted from AD it will not prevent local logons, even with "some" domain user accounts as they use cached credentials, because the computer may not "know" about the deleting from the domain.
When a computer object is deleted from AD, and AD doesn't have the computer's object or password it its database. So what happens to the computer? The trust relationship between the computer an AD is broken because it cannot authenticate to the domain because the AD doesn't have its password anymore. computer's local secret cannot be used to authenticate the computer object then.
Similar discussion here
Hope this resolves your Query !!
--If the reply is helpful, please Upvote and Accept it as an answer--