Locks clicking

after I locked the suv the back lights started to flash then they would stop and start up again. I opened all of the doors and then closed and locked them gain.
Now the locks keeps clicking like it is trying to work. Can not find a way to stop it, finally had to disconnect the battery.
Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
Add image file

Motorsforum.com is a website by car enthusiasts for car enthusiasts. It is not affiliated with any of the car or spare part manufacturers or car dealers discussed here. All logos and trade names are the property of their respective owners.