Moved user lock to user.c. Added USER_CheckNotLock function.

5 files changed