Your switch may be just fine. Recall that the switch does not need a key to start and operate the car unless the switch ( ignition lock) is turned to the lock position before you remove the key. If you remove the key in the off position no key will be needed to start the car.
To remove the lock you needd to turn the key counter-clockwise to the Accessory position then push the pin and remove the lock.
But again your switch (lock really) may be working as designed.