You might change nameservers when moving a website to a new host, switching DNS provider or connecting a domain to a service such as Cloudflare. That is a DNS change. It is not the same thing as transferring the domain to another registrar.
For domain extensions covered by ICANN’s Transfer Policy, a nameserver change is not one of the events that creates a new 60-day inter-registrar transfer lock. ICANN also makes clear that you can change nameservers or a hosting IP address without moving the registration to another registrar.
Nameservers control DNS, not who your registrar isNameservers tell the internet where to find the DNS for your domain. Changing them does not move the registration to another registrar and does not change who the domain is registered to.