Getting past motion notifications when unlock phone

When I unlock my iPhone I get past motion alert notifications. Like it will say there is a person at your side door 5 min ago. How do I turn that off so every time I unlock my phone I don’t get notifications? Thanks