As I've seen DDL outside of a transaction take much longer than inside one, it may use locking there.
As I've seen DDL outside of a transaction take much longer than inside one, it may use locking there.