hi guys

i wonder if we can have our doors locked automatically after travelling for a few seconds or when we stepped on the brake for the first time.

anyone has any ideas on how to go about doing this?