A locking device that prevents unauthorized removal of a power feeding plug from an inlet. The locking device is provided with a lock mechanism, which includes a lock member that locks the power feeding plug to the inlet, and an operation member, which is operated at least when shifting the lock mechanism to a lock state. The operation member applies an operation force to the lock member to mechanically move the lock member and shift the lock mechanism to a lock state.