Dear @Dani321,
The answer depends on what is happening with your studies. If you are continuing to study, you can retain the residence permit you had. For this you will have to continue to leave the blocked account intact. You can continue studying while your asylum case is being processed.
The alternative is to end your student residence permit. This would mean you would be issued with a temporary residence paper 'Aufenthaltsgestattung' and would be entitled to social benefits for asylum seekers. You can apply with your local Ausländerbehörde to have blocked account ended and the money returned to you. However, you will be obliged to use some of this money to support yourself first before being able to access benefits. The amount you are allowed to keep depends on which exact type of asylum seeker benefits you receive.
Please note that if you end your student permit and your asylum application is unsuccessful, it is not possible to change back to a student residence permit or to another one such as a working permit.
Best,
Éanna