Get lock waits for the current database