Does WordPress $wpdb functions wait when table is locked?

By itself wodb doesn’t do (and probably can’t) anything extra to what the DB will do. When the table is locked you will probably wait longer for a response or fail on timeout.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)