Passcode sound if possible?

--------------------------------------------------------------------------------
Hi currently i have changed my lock and unlock sounds and i have a passcode set.

What i would like to achieve is a sound to play when you get the passcode wrong, when i input the code correctly i hear "access granted" and my phone unlocks. I want to hear "access denied" if the code in incorrect.

Now i know there isnt a default sound for this, correct me if wrong, but is it possible to create this? maybe through coding.

For example When the code is wrong the red banner appears to say "wrong passcode try again" would it be a similar process? when code is wrong red banner and sound appear?

Any help would be appreciated.

ps: im new to these forums so sorry if ive posted incorrectly

Thanks