Classic BT password verification

Hi, I am using ESP32 and Arduino for classic Bluetooth communication. Is there any way to implement password verification for connection or how do I ensure that the other user cannot pair my device?

Dun