Apologies for the lazy answer, but Lock Picking Lawyer on YouTube has a number of videos on bike locks. In addition to the lock itself, you want to secure both wheels with a chain or cable if possible, and take the bike seat with you if you can (or secure it in some manner). Thieves will remove any bike part they can quickly remove from the bike. Obviously take any bags or water bottles with you, too.