[DF-3537] Updated lock/unlock logics of mutex at animations