Is it a home charger that plugs in to a 110v socket, or a wall connector? Wall connectors can be vin locked.
The Charging Access Control feature gives you full control over which cars are allowed to charge with your Wall Connector.
www.tesla.com
If home charger (ac) is not working but supercharging (dc) works, that will indicate problem with ac charging system on the car. Make a service appointment.