Is it possible to connect Bluetooth HC-05 with only application

Hi guys
i had a project about smart lock door , i want to send OTP token via bluetooth , the processing
is using your devices login in an app and it send otp to your devices , i want nobody can access bluetooth but that app , is bluetooth hc-05 possible to do that ?

You can nominate a four character password.