Auto lock malfuntion

I set the timer for auto lock at 10pm. If the door is already locked, the auto lock still tries to lock it and gives me a report that the is a malfunction and it failed to lock the door.