Use this calculator kindly provided or do the maths yourself if you can. Will tell you what new margin requirement (blocked funds) is - you need to make sure that is available in free funds at a minimum.
If you are unable to do this you do not “lose” profit. What will happen is 212 force close out your positions for whatever the running profit or loss is. If you want them to stay open, follow my first paragraph.