Blocking/unblocking the user by time

Friends. I didn’t find such a topic. Is it possible to create automation in Home Assistant to lock and unlock a specific user by time? Example: Block access to the user “Tenant” from 22:00 to 09:00.

No this is not possible.