PIN lock script