An advanced password lock program written in C++