When will the blocked amount for IPO get released?

I Want to apply for an IPO,but i heard that the amount will be blocked for few days.I don’t know the exact time of blocking the amount. So can you tell me the timeline of it.