Most if not all current EVs lock the charge port when the charging connector (or Tesla adapter) is plugged in. I'm not sure if the locking is part of the J1772 standard or if it's something that all EV manufacturers just happen to do. In the cases I've seen where it was possible to unplug a J1772 connector from a locked car, either
1. The latch on the charging connector was broken.
2. Car was set to unlock the charge port when finished charging. Not all cars have this optional setting.
If using a J1772 charger with the Tesla adapter, those do not lock together. You would need something like
this