In general, the connection that is updating these tables has to finish their transaction. If the tables have been locked for a long time (over 10 minutes, say) then try sp_transactions to see if someone issued a BEGIN TRANSACTION, then walked away for lunch or some fool thing.