A locking device including at least one key and a lock cylinder having at least one cylinder core pivotally mounted in a cylinder housing and having a keyway is provided with a blocking element which in its blocked position prevents rotation of the cylinder core with the key, and in its release position permits rotation of the cylinder core with the key.