Want to get out without breaking contract?
Simply change your login landing page (if it's a cloud portal then it is the company you are siging in to that controls that page) into something that shows images of the latest Russian War crime. Then make sure that anyone signing in from Russia has to re authenticate at least weekly.
I'm pretty sure the company will be banned pdq from the customer end and you have done nothing that you could be taken to court for.