Program 4. Create a shell script to implement a terminal locking mechanism similar to the lock command. The script should prompt the user to enter a password, then prompt again to confirm the password. If the passwords match, the script should lock the terminal, requiring the correct password to unlock it. Use Linux file management commands to achieve this functionality.