Lock the queue for sync command.

This prevents race conditions of sending BIO along with SG_IO and prevents the FW
 from picking up BIO commands before they are fully prepared.