When you log the phone out it will goto a screen asking for user/pass to log in.

There is a button called logout which should do what you need.

Most feature codes have buttons already