You are buying the keyhole lock and key shown in the photos.
This unit is in good working condition.