Carrier locked phones and /e/ install

So I have a question, wondering what happens if I flash /e/ to my friend’s carrier locked Samsung J7 2017? Will the phone be disabled for SIM? Or will there be no negative effects?
Thanks and waiting community feedback!