If it's "lock only" which means it's designed to allow an attacker to access data at some point, then it's fine.
But if it is supposed to protect the data fully using encryption, then pin is not sufficient. Numeric values have low entropy. And no, an HSM is not an excuse.
