To disable passage function, simply remove the Y-Pin while changing your user code. Leaving the Y-Pin slot empty will effectively disable passage function. To enable it, simply replace the Y-Pin.
The passage function is... an optional feature that comes with many Lockey keyless locks. It lets users freely operate the lock from either side of the door.