Probably ought to get that straightened out first, that could possibly cause issues.
So I guess I would try either [RELEASE] Auto Lock Door or [RELEASE] Auto Lock If those work, we know it is Basic Rule that has an issue. And you get a working lock. From there, if we can narrow it down to Basic Rule not working and one of these apps do, we probably should report a (likely) bug.
I think both are available in Hubitat Package Manager, which is probably the easiest way to install them. [BETA] Hubitat Package Manager