There are a lot of setting to suit your preference. My fave is unlock automatically when I approach Mac and keep the default lock (sleep) setup when away from Mac.
Natalnugroho.jp about Near Lock, v3.2