Not sure how it works in Denmark but in Poland you have to work certain amount of years (20-25) to qualify for retirement even though the retirement age is 60-65. The amount you get depends on how much you paid into the system, so you will get less for not working, but it'll not prevent you from receiving the pension. And in the US, you become eligible for pension after just 10 years of paying into the system.
Whereas in Turkey you will actually get less if you continue working after you become eligible (65 years of age and 25 years of work, with some exceptions, early exit with partial pay available after 40 years of age) to retire (unless you get enough income to have your premiums paid at maximum, in which case you get a very slow increase in pension for the time after you become eligible).