How can you prompt for password to another user when user access your computer?

By enabling your account's password and the idle time feature of your OS, please refer to the users manual. Once it is enabled and timed, any attempt to use your computer by another user, she/he will be prompted by the user's password.