Clerk charged after locking child inside store at gunpoint