The lock (deadbolt) sticks out
If the door is opened during locking operation, the electric thumb-turn will stop and the lock (dead bolt) will remain stuck out.
Please manually turn the thumb-turn and close the door after the door is unlocked. Then, try operating the the digital lock again.
(The thumb-turn might be stiff)