Migrated to SSO Keycloak

Hi all, I migrated/linked an account to my keycloak SSO application. I notice that the user is still able to log in directly using their own creds before it was linked. Is there any way to remove the ability for the user to be able to log in directly? I already changed auth source for the user to the SSO. Thanks.