While no lock is completely foolproof, U-locks and chain locks are generally considered to be the most secure types of bike locks.