Add class to the tr for locked.