‘As salaamu alaykum’ can be said by anyone. If we muslims hear a non-muslim use that sentence, we will obviously get confused because we are not used to it, but I’m sure the majority of us will reply with ‘wa alaykum salaam’ and have no problem with it. I myself am also Turkish and you just encountered the ignorant muslims. Anyone can say it, so use it freely if you feel like doing so.