At the beginning - talk about a specific point or moment — the starting point of something (जब हम किसी चीज़ के विशेष शुरुआत के पल के बारे में बात कर रहे हों)
At the beginning of the movie, the hero is a child.
At the beginning of the year, we made many plans.
In the beginning - means during the early period of something — not one point, but a time span (किसी चीज़ का प्रारंभिक समय — यानी एक अवधि, न कि एक पल)
In the beginning, I didn’t like the city, but now I love it.
In the beginning, they were good friends.