How do System Preferences remain unlocked?
What you are describing is the standard way, the Mac OS X do it.
You have to do the following to get around the five minuts loop hole: Guide to lock system preference

It is assert by using plist files which I hold system times etc. or that is how it was done i Snow Leopard and older.