Is it possible to direct users to a certain post based on a password entered on the home page?
Yes, but you’ll need to hold the details of how a password maps to a post. So: store mappings somewhere, easiest as a hash/key-value pair (password->post_id) get password from field determine post_id, and construct the URL use wp_redirect() to redirect the user.